const TextureSRV& CopyTexture2dfCS::textureSrv(const std::string& name) const { if(name == std::string("src")) return src; ASSERT(false, "Tried to look for non-existing resource"); return TextureSRV(); }
const TextureSRV& SSAOPS::textureSrv(const std::string& name) const { if(name == std::string("depthTexture")) return depthTexture; if(name == std::string("normalTexture")) return normalTexture; if(name == std::string("noiseTexture")) return noiseTexture; ASSERT(false, "Tried to look for non-existing resource"); return TextureSRV(); }
const TextureSRV& MeshRendererTransparentPS::textureSrv(const std::string& name) const { if(name == std::string("environmentIrradiance")) return environmentIrradiance; if(name == std::string("shadowMap")) return shadowMap; if(name == std::string("albedo")) return albedo; if(name == std::string("roughness")) return roughness; if(name == std::string("normal")) return normal; if(name == std::string("metalness")) return metalness; ASSERT(false, "Tried to look for non-existing resource"); return TextureSRV(); }
const TextureSRV& DebugViewerVS::textureSrv(const std::string& name) const { ASSERT(false, "Tried to look for non-existing resource"); return TextureSRV(); }
const TextureSRV& ClearTexture2duCS::textureSrv(const std::string& name) const { ASSERT(false, "Tried to look for non-existing resource"); return TextureSRV(); }
const TextureSRV& BloomExtractBrightVS::textureSrv(const std::string& name) const { ASSERT(false, "Tried to look for non-existing resource"); return TextureSRV(); }
const TextureSRV& Texture2DArrayVisualizerVS::textureSrv(const std::string& name) const { ASSERT(false, "Tried to look for non-existing resource"); return TextureSRV(); }