Home -> IShaderProgram -> ConfigureShaderTarget
Description
The ConfigureShaderTarget method sets optional configuration settings for the renderer to use when loading and compiling shader code.
Usage
SuccessToken ConfigureShaderTarget(const ShaderTargetInfoBase& shaderTargetInfo);
Argument list
- shaderTargetInfo [const ShaderTargetInfoBase]
- The target-specific shader configuration structure to apply before shader code is loaded.
Return value
- [SuccessToken]
- True if the operation succeeded, false otherwise. An assertion will be raised in debug builds if the result is not tested.