GetShader

This function gets the material shader. This function does not increment the shader reference count.

Syntax

Returns

Returns the material shader. If the material has no shader, NULL is returned.