Struct ShaderMetadata
Nested Relationships
Nested Types
Struct Documentation
-
struct ShaderMetadata
The metadata associated with a shader ID, including the shader source code, if available.
The shader source code returned with this object is the original shader code as written by the application or generated by the compiler. Thus, it will not contain after-the-fact generated SPIR-V -> GLSL/HLSL as the high-level language. In order to obtain this representation, use the (
- Todo:
: not yet implemented) ShaderConverter module to convert the intermediate shader source to the desired high-level shading language.
Public Members
-
ShaderStage stage = {kShaderStageInvalid}
See also
ShaderStage
-
std::vector<api_types::ShaderLanguage> availableLanguages
The different representations of the shader that are available for the user to request.
-
introspection::ShaderInterface reflectionData
See also
-
std::vector<VtxInputDesc> vertexBufferInformation
-
std::vector<VtxAttribDesc> vertexAttribInformation
-
struct VtxAttribDesc
-
struct VtxInputDesc