HC_UnSet_Shader_Uniforms
-
void
HC_UnSet_Shader_Uniforms(Key shader_key) - void HC_UnSet_Shader_Uniforms(Key shader_key)
Removes the uniform specification from the shader. Only valid for modern custom shaders.
After invoking this function, the shader will only have access to uniforms 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.