Documentation
›
API Reference
›
Object
›
Asset
›
Shader
Create
Lua
C++
This function creates a new shader. The shader must have source code added, and be compiled and linked before it is usable.
Syntax
Shader
Create
()
Returns
Returns a new shader.