HC_Show_Shader_Definition_Source_Size

void HC_Show_Shader_Definition_Source_Size(Key shader_key, int *size)
void HC_Show_Shader_Definition_Source_Size(Key shader_key, int size)

Returns the size of the shader source in bytes. Only valid for modern custom shaders.

HC_Define_Shader

Parameters

shader_key: the key of the shader, returned by Define_Shader when defining a modern custom shader

size: the size of the shader source code, in bytes. Returned to user.