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(); }
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(); }
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(); }
const BufferSRV& DebugViewerVS::bufferSrv(const std::string& name) const { ASSERT(false, "Tried to look for non-existing resource"); return BufferSRV(); }
const BufferSRV& ClearTexture2duCS::bufferSrv(const std::string& name) const { ASSERT(false, "Tried to look for non-existing resource"); return BufferSRV(); }
const BufferSRV& BloomExtractBrightVS::bufferSrv(const std::string& name) const { ASSERT(false, "Tried to look for non-existing resource"); return BufferSRV(); }
const BufferSRV& Texture2DArrayVisualizerVS::bufferSrv(const std::string& name) const { ASSERT(false, "Tried to look for non-existing resource"); return BufferSRV(); }