Home -> IShaderProgram -> ShaderSourceInfoBase

Description

The ShaderSourceInfoBase structure is the base structure passed to LoadShaderStage. Concrete shader source information structures derive from it to describe a specific source or bytecode format.

Applications normally construct one of the concrete helper structures for the shader format they are supplying. The base structure identifies the format so the renderer can validate that the shader code matches the selected loader path.

Enumerations

Name Description
Public Enum ShaderType
Identifies the concrete shader source information type supplied to LoadShaderStage.

Members

Name Type Description
Public member shaderType ShaderType
Identifies the concrete shader source information structure and the shader code format it describes.

See also