From 612a3d1c8d33353e7885d19bbf9d4fef40ecfeec Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 7 Oct 2023 19:30:10 -0700 Subject: [PATCH] PBR_Renderer::CreateInfo: removed EnableMeshIdRendering member --- Hydrogent/src/HnRendererImpl.cpp | 2 -- PBR/interface/PBR_Renderer.hpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/Hydrogent/src/HnRendererImpl.cpp b/Hydrogent/src/HnRendererImpl.cpp index 3f212c38..3db6cb88 100644 --- a/Hydrogent/src/HnRendererImpl.cpp +++ b/Hydrogent/src/HnRendererImpl.cpp @@ -80,8 +80,6 @@ HnRendererImpl::HnRendererImpl(IReferenceCounters* pRefCounters, USDRendererCI.RTVFmt = CI.RTVFormat; USDRendererCI.DSVFmt = CI.DSVFormat; - USDRendererCI.EnableMeshIdRendering = true; - // Use samplers from texture views USDRendererCI.UseImmutableSamplers = false; // Disable animation diff --git a/PBR/interface/PBR_Renderer.hpp b/PBR/interface/PBR_Renderer.hpp index d30085c2..4cca2119 100644 --- a/PBR/interface/PBR_Renderer.hpp +++ b/PBR/interface/PBR_Renderer.hpp @@ -78,9 +78,6 @@ class PBR_Renderer /// instead of a combined physical description texture. bool UseSeparateMetallicRoughnessTextures = false; - /// Whether to enable rendering mesh Ids to a separate render target. - bool EnableMeshIdRendering = false; - static const SamplerDesc DefaultSampler; /// Immutable sampler for color map texture.