Shader interface.
More...
#include <Shader.h>
◆ Shader()
◆ GetReport()
| virtual const Report * LLGL::Shader::GetReport |
( |
| ) |
const |
|
pure virtual |
Returns a pointer to the report or null if there is none.
- See also
- Report
◆ GetType()
Returns the type of this shader.
◆ Reflect()
Returns a reflection of the shader pipeline layout with all required resources for this shader.
- Parameters
-
| [out] | reflection | Specifies the output shader reflection. If the function returns false, the content of this parameter is undefined! |
- Returns
- True, if the reflection was successful. Otherwise, the shader reflection failed and the content of the output parameter
reflection is undefined.
- Note
- Since Metal needs a complete pipeline state for shader reflection, this function is only supported for compute shaders in the Metal backend.
- See also
- ShaderReflection::resources
-
ShaderReflection::vertexAttributes
-
VertexAttribute::instanceDivisor
-
VertexAttribute::offset
The documentation for this class was generated from the following file: