Documentation
›
API Reference
›
Object
›
Context
GetShader
Lua
C++
This function gets the current shader used for drawing operations.
Syntax
Shader
GetShader
()
Returns
Returns the current shader if one is set, otherwise NULL is returned.