150 {
152
159
160 m_GBufferID.
SceneColorID =
reinterpret_cast<ImTextureID
>(ImGui_ImplVulkan_AddTexture(sceneColorInfo->sampler , sceneColorInfo->imageView , sceneColorInfo->imageLayout ));
161 m_GBufferID.
AlbedoID =
reinterpret_cast<ImTextureID
>(ImGui_ImplVulkan_AddTexture(albedoInfo->sampler , albedoInfo->imageView , albedoInfo->imageLayout ));
162 m_GBufferID.
NormalID =
reinterpret_cast<ImTextureID
>(ImGui_ImplVulkan_AddTexture(normalInfo->sampler , normalInfo->imageView , normalInfo->imageLayout ));
163 m_GBufferID.
RoughnessID =
reinterpret_cast<ImTextureID
>(ImGui_ImplVulkan_AddTexture(roughnessInfo->sampler , roughnessInfo->imageView , roughnessInfo->imageLayout ));
164 m_GBufferID.
MetallicID =
reinterpret_cast<ImTextureID
>(ImGui_ImplVulkan_AddTexture(metallicInfo->sampler , metallicInfo->imageView , metallicInfo->imageLayout ));
165 m_GBufferID.
PositionID =
reinterpret_cast<ImTextureID
>(ImGui_ImplVulkan_AddTexture(positionInfo->sampler , positionInfo->imageView , positionInfo->imageLayout ));
166 }
#define SPICES_PROFILE_ZONE
GBufferID m_GBufferID
The instance of GBufferID.
static std::shared_ptr< RendererResourcePool > GetRendererResourcePool()
Get RendererResourcePool in use.