HC_Show_Shader_Outputs
-
bool
HC_Show_Shader_Outputs(Key shader_key, int *size, char *outputs) - bool HC_Show_Shader_Outputs(Key shader_key, int size, char outputs)
Returns the shader output specification if present. Only valid for modern custom shaders.
HC_Define_Shader, HC_Set_Shader_Outputs, HC_Show_Shader_Outputs_SizeParameters
shader_key: The key of the shader, returned by Define_Shader when defining a modern custom shader.
size: The size of the shader output specification, in bytes. May be null if value is not needed. Returned to the user.
outputs: The output specification for the shader. Returned to the user.
Returns
True if the shader has an output specification and the returned arguments are valid. Otherwise, will return false.