Documentation
›
API Reference
›
Object
›
Context
SetShader
Lua
C++
This function sets a context's shader for drawing operations.
Syntax
SetShader
(Shader shader)
Parameters
shader:
the shader to set. This value may be NULL.