HC_Show_Shader

bool HC_Show_Shader(char const *target, Key *vertex, Key *pixel)
bool HC_Show_Shader(char const target, Key vertex, Key pixel)

Returns the shader setting for the currently open segment.

Set_Shader()

Parameters

target: - The graphic primitive you are interested in

vertex: - The Key for the custom shader definition used for the vertex stage of the pipeline. Passed by reference. Returned to user.

pixel: - The Key for the custom shader definition used for the pixel stage of the pipeline. Passed by reference. Returned to user.

Returns

true if a custom shader attribute is present in the currently open segment, false otherwise.