Class Shader::CompileInfo
Defined in File shader.h
Nested Relationships
This class is a nested type of Class Shader.
Class Documentation
-
class CompileInfo
Compilation parameters for a Shader.
Public Members
-
api_types::ManagedShaderSource sourceCode
Source code of the Shader to compile (optional)
-
std::vector<uint8_t> byteCode
A byte code of the Shader to compile (optional)
-
std::string shaderProfile
For HLSL, a shader profile string of the Shader to compile (optional)
-
void *shaderData = {nullptr}
A pipeline state (optional) Valid strings: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-models
-
api_types::ManagedShaderSource sourceCode