Exemplo n.º 1
0
 const BufferSRV& SSAOPS::bufferSrv(const std::string& name) const
 {
     
     
     if(name == std::string("samples")) return samples;
     
     
     ASSERT(false, "Tried to look for non-existing resource");
     return BufferSRV();
 }
Exemplo n.º 2
0
 const BufferSRV& HLSLTestVS::bufferSrv(const std::string& name) const
 {
     
     
     if(name == std::string("position")) return position;
     
     if(name == std::string("color")) return color;
     
     
     ASSERT(false, "Tried to look for non-existing resource");
     return BufferSRV();
 }
Exemplo n.º 3
0
 const BufferSRV& MeshRendererTransparentPS::bufferSrv(const std::string& name) const
 {
     
     
     if(name == std::string("lightWorldPosition")) return lightWorldPosition;
     
     if(name == std::string("lightDirection")) return lightDirection;
     
     if(name == std::string("lightColor")) return lightColor;
     
     if(name == std::string("lightParameters")) return lightParameters;
     
     if(name == std::string("lightType")) return lightType;
     
     if(name == std::string("lightIntensity")) return lightIntensity;
     
     if(name == std::string("lightRange")) return lightRange;
     
     
     ASSERT(false, "Tried to look for non-existing resource");
     return BufferSRV();
 }
Exemplo n.º 4
0
 const BufferSRV& DebugViewerVS::bufferSrv(const std::string& name) const
 {
     
     ASSERT(false, "Tried to look for non-existing resource");
     return BufferSRV();
 }
Exemplo n.º 5
0
 const BufferSRV& ClearTexture2duCS::bufferSrv(const std::string& name) const
 {
     
     ASSERT(false, "Tried to look for non-existing resource");
     return BufferSRV();
 }
Exemplo n.º 6
0
 const BufferSRV& BloomExtractBrightVS::bufferSrv(const std::string& name) const
 {
     
     ASSERT(false, "Tried to look for non-existing resource");
     return BufferSRV();
 }
Exemplo n.º 7
0
 const BufferSRV& Texture2DArrayVisualizerVS::bufferSrv(const std::string& name) const
 {
     
     ASSERT(false, "Tried to look for non-existing resource");
     return BufferSRV();
 }