HC_Show_Compilation_Results

void HC_Show_Compilation_Results(char const *stage, char const *primitive, Key *shader_key, int *source_size, char *source, int *errors_size, char *errors)
void HC_Show_Compilation_Results(char const stage, char const primitive, Key shader_key, int source_size, char source, int errors_size, char errors)

Returns the shader source size and the errors (if any).

HC_Compile_Shader, HC_Show_Compilation_Results_Size

Parameters

stage: The shader stage, one of: vertex or pixel.

primitive: The shader primitive, one of: triangles, lines or points.

shader_key: The custom shader key.

source_size: The shader source size, can be nullptr if not wanted.

source: The shader source program.

errors_size: The error size, can be nullptr if not wanted.

errors: The shader compilation errors.