HC_Show_Shader_Definition_By_Key
-
void
HC_Show_Shader_Definition_By_Key(Key shader_key, char *name, char *stage, char *shader_source) - void HC_Show_Shader_Definition_By_Key(Key shader_key, char name, char stage, char shader_source)
Returns the shader stage and its source code. Only valid for modern custom shaders.
HC_Define_ShaderParameters
shader_key: the key of the shader, returned by Define_Shader when defining a modern custom shader
name: The name of this shader is associated with. Returned to user.
stage: The stage of the graphics pipeline this shader is associated with. Can be ‘vertex’ or ‘pixel’. Returned to user.
shader_source: The shader source code