Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 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();
 }
Esempio n. 3
0
 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();
 }
Esempio n. 4
0
 const TextureSRV& DebugViewerVS::textureSrv(const std::string& name) const
 {
     
     ASSERT(false, "Tried to look for non-existing resource");
     return TextureSRV();
 }
Esempio n. 5
0
 const TextureSRV& ClearTexture2duCS::textureSrv(const std::string& name) const
 {
     
     ASSERT(false, "Tried to look for non-existing resource");
     return TextureSRV();
 }
Esempio n. 6
0
 const TextureSRV& BloomExtractBrightVS::textureSrv(const std::string& name) const
 {
     
     ASSERT(false, "Tried to look for non-existing resource");
     return TextureSRV();
 }
Esempio n. 7
0
 const TextureSRV& Texture2DArrayVisualizerVS::textureSrv(const std::string& name) const
 {
     
     ASSERT(false, "Tried to look for non-existing resource");
     return TextureSRV();
 }