All Classes |Grouped Classes |Index

Class CL_ProgramObjectProvider

Program Object provider. More...

Derived from:

None

Derived by:

None

Group:

Display Target Interface (Display)

#include <ClanLib/display.h>

Class Members:

Construction:

destroy

Destroy.


Attributes:

get_handle

Returns the OpenGL program object handle.

get_link_status

Returns true if the link succeeded.

get_validate_status

Returns true if validation succeeded.

get_info_log

Returns the current info log for the program object.

get_attribute_count

Returns the count of active attributes.

get_shaders

Returns the shaders used in this program.

get_attributes

Returns the active attributes.

get_attribute_location

Returns the location of a named active attribute.

get_uniform_count

Returns the count of active uniform variables.

get_uniforms

Returns the active uniforms.

get_uniform_location

Returns the location of a named uniform variable.


Operations:

attach

Add shader to program object.

detach

Remove shader from program object.

bind_attribute_location

Bind attribute to specific location.

bind_frag_data_location

Bind shader out variable a specific color buffer location.

link

Link program.

validate

Validate program.

set_uniform1i

Set uniform variable(s).

set_uniform2i

Set uniform2i.

set_uniform3i

set_uniform4i

Set uniform4i.

set_uniformiv

Set uniformiv.

set_uniform1f

set_uniform2f

Set uniform2f.

set_uniform3f

set_uniform4f

Set uniform4f.

set_uniformfv

Set uniformfv.

set_uniform_matrix

Set uniform matrices.