Navigation
API > API/Runtime > API/Runtime/RenderCore
A reference to an optional shader, initialized with a shader type from a shader map if it is available or nullptr if it is not.
| Name | TOptionalShaderMapRef |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/Shader.h |
| Include Path | #include "Shader.h" |
Syntax
template<typename ShaderType>
class TOptionalShaderMapRef : public TShaderRefBase< ShaderType >
Inheritance Hierarchy
- TShaderRefBase → TOptionalShaderMapRef
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOptionalShaderMapRef
(
const typename ShaderType::ShaderMapType* ShaderIndex |
Shader.h |