Struct ShaderSource
Struct Documentation
-
struct ShaderSource
Represents a single source code representation for a given shader ID.
A shader can have multiple ShaderSource objects. For example, a shader in DirectX can have an HLSL representation and a MSIL representation.
Public Members
-
api_types::ShaderLanguage language{api_types::GPA_SHADER_LANGUAGE_UNKNOWN}
Invalid by default, or if no source could be found.
-
std::string contents
The string containing the source code.
-
api_types::ShaderLanguage language{api_types::GPA_SHADER_LANGUAGE_UNKNOWN}