Class
CoglAttribute
Constructors
cogl_attribute_new
Describes the layout for a list of vertex attribute values (For example, a list of texture coordinates or colors).
cogl_attribute_new_const_1f
Creates a new, single component, attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_2f
Creates a new, 2 component, attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_2fv
Creates a new, 2 component, attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_2x2fv
Creates a new matrix attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_3f
Creates a new, 3 component, attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_3fv
Creates a new, 3 component, attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_3x3fv
Creates a new matrix attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_4f
Creates a new, 4 component, attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_4fv
Creates a new, 4 component, attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
cogl_attribute_new_const_4x4fv
Creates a new matrix attribute whose value remains constant across all the vertices of a primitive without needing to duplicate the value for each vertex.
Instance methods
cogl_attribute_set_normalized
Sets whether fixed point attribute types are mapped to the range
0→1. For example when this property is TRUE and a
COGL_ATTRIBUTE_TYPE_UNSIGNED_BYTE
type is used then the value 255
will be mapped to 1.0.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.