HC_UnSet_Shader_Outputs
-
void
HC_UnSet_Shader_Outputs(Key shader_key) - void HC_UnSet_Shader_Outputs(Key shader_key)
Removes the output specification from the shader. Only valid for modern custom shaders.
After invoking this function, the shader will only have access to outputs that are determined to be necessary by the database state where the shader is used.
HC_Define_Shader, HC_Set_ShaderParameters
shader_key: The key of the shader, returned by Define_Shader when defining a modern custom shader.