|
| | CL_ShaderObject () |
| | Constructs a null instance. More...
|
| |
| | CL_ShaderObject (CL_GraphicContext &gc, CL_ShaderType type, const CL_StringRef &source) |
| | Constructs an OpenGL shader. More...
|
| |
| | CL_ShaderObject (CL_GraphicContext &gc, CL_ShaderType type, const std::vector< CL_StringRef > &sources) |
| | Constructs a ShaderObject. More...
|
| |
| | CL_ShaderObject (CL_GraphicContextProvider *gc_provider, CL_ShaderType type, const CL_StringRef &source) |
| | Constructs a ShaderObject. More...
|
| |
| | CL_ShaderObject (CL_GraphicContextProvider *gc_provider, CL_ShaderType type, const std::vector< CL_StringRef > &sources) |
| | Constructs a ShaderObject. More...
|
| |
| virtual | ~CL_ShaderObject () |
| |
| static CL_ShaderObject | load (CL_GraphicContext &gc, const CL_StringRef &resource_id, CL_ResourceManager *resources) |
| | Load. More...
|
| |
| static CL_ShaderObject | load (CL_GraphicContext &gc, CL_ShaderType type, const CL_StringRef &filename, const CL_VirtualDirectory &directory) |
| | Load. More...
|
| |
| static CL_ShaderObject | load (CL_GraphicContext &gc, CL_ShaderType type, const CL_StringRef &fullname) |
| | Load. More...
|
| |
| static CL_ShaderObject | load (CL_GraphicContext &gc, CL_ShaderType type, CL_IODevice &file) |
| | Load. More...
|
| |
| static CL_ShaderObject | load_and_compile (CL_GraphicContext &gc, CL_ShaderType type, const CL_StringRef &filename, const CL_VirtualDirectory &directory) |
| | Load and compile. More...
|
| |
| static CL_ShaderObject | load_and_compile (CL_GraphicContext &gc, CL_ShaderType type, const CL_StringRef &filename) |
| | Load and compile. More...
|
| |
| static CL_ShaderObject | load_and_compile (CL_GraphicContext &gc, CL_ShaderType type, CL_IODevice &file) |
| | Load and compile. More...
|
| |
Shader Object.
The source code that makes up a program that gets executed by one of the programmable stages is encapsulated in one or more shader objects. Shader objects are attached to a program objects to form a programmable setup. CL_ShaderObject is ClanLib's C++ interface to OpenGL shader objects.