|
|
virtual | ~CL_ProgramObjectProvider () |
|
virtual void | destroy ()=0 |
| Destroy. More...
|
|
|
virtual unsigned int | get_handle () const =0 |
| Returns the OpenGL program object handle. More...
|
|
virtual bool | get_link_status () const =0 |
| Returns true if the link succeeded. More...
|
|
virtual bool | get_validate_status () const =0 |
| Returns true if validation succeeded. More...
|
|
virtual CL_String | get_info_log () const =0 |
| Returns the current info log for the program object. More...
|
|
virtual int | get_attribute_count () const =0 |
| Returns the count of active attributes. More...
|
|
virtual std::vector
< CL_ShaderObject > | get_shaders () const =0 |
| Returns the shaders used in this program. More...
|
|
virtual std::vector
< CL_ProgramAttribute > | get_attributes () const =0 |
| Returns the active attributes. More...
|
|
virtual int | get_attribute_location (const CL_StringRef &name) const =0 |
| Returns the location of a named active attribute. More...
|
|
virtual int | get_uniform_count () const =0 |
| Returns the count of active uniform variables. More...
|
|
virtual std::vector
< CL_ProgramUniform > | get_uniforms () const =0 |
| Returns the active uniforms. More...
|
|
virtual int | get_uniform_location (const CL_StringRef &name) const =0 |
| Returns the location of a named uniform variable. More...
|
|
|
virtual void | attach (const CL_ShaderObject &obj)=0 |
| Add shader to program object. More...
|
|
virtual void | detach (const CL_ShaderObject &obj)=0 |
| Remove shader from program object. More...
|
|
virtual void | bind_attribute_location (int index, const CL_StringRef &name)=0 |
| Bind attribute to specific location. More...
|
|
virtual void | bind_frag_data_location (int color_number, const CL_StringRef &name)=0 |
| Bind shader out variable a specific color buffer location. More...
|
|
virtual void | link ()=0 |
| Link program. More...
|
|
virtual void | validate ()=0 |
| Validate program. More...
|
|
virtual void | set_uniform1i (const CL_StringRef &name, int)=0 |
| Set uniform variable(s). More...
|
|
virtual void | set_uniform2i (const CL_StringRef &name, int, int)=0 |
| Set uniform2i. More...
|
|
virtual void | set_uniform3i (const CL_StringRef &name, int, int, int)=0 |
|
virtual void | set_uniform4i (const CL_StringRef &name, int, int, int, int)=0 |
| Set uniform4i. More...
|
|
virtual void | set_uniformiv (const CL_StringRef &name, int size, int count, int *data)=0 |
| Set uniformiv. More...
|
|
virtual void | set_uniform1f (const CL_StringRef &name, float)=0 |
|
virtual void | set_uniform2f (const CL_StringRef &name, float, float)=0 |
| Set uniform2f. More...
|
|
virtual void | set_uniform3f (const CL_StringRef &name, float, float, float)=0 |
|
virtual void | set_uniform4f (const CL_StringRef &name, float, float, float, float)=0 |
| Set uniform4f. More...
|
|
virtual void | set_uniformfv (const CL_StringRef &name, int size, int count, float *data)=0 |
| Set uniformfv. More...
|
|
virtual void | set_uniform_matrix (const CL_StringRef &name, int size, int count, bool transpose, float *data)=0 |
| Set uniform matrices. More...
|
|