Back to Seed Clases

Cogl


Classes

Interfaces

Structs

Unions

Enums

Enum Cogl.MaterialWrapMode

Import line: Cogl = imports.gi.Cogl;
GIR File: Cogl-1.0.gir
C documentation: CoglMaterialWrapMode
Enum : MaterialWrapMode
The wrap mode specifies what happens when texture coordinates
outside the range 0→1 are used. Note that if the filter mode is
anything but COGL_MATERIAL_FILTER_NEAREST then texels outside the
range 0→1 might be used even when the coordinate is exactly 0 or 1
because OpenGL will try to sample neighbouring pixels. For example
if you are trying to render the full texture then you may get
artifacts around the edges when the pixels from the other side are
merged in if the wrap mode is set to repeat.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Cogl.Material
Method
get_layer_wrap_mode_p (gint32 layer_index) : Cogl.MaterialWrapMode
Cogl.Material
Method
get_layer_wrap_mode_s (gint32 layer_index) : Cogl.MaterialWrapMode
Cogl.Material
Method
get_layer_wrap_mode_t (gint32 layer_index) : Cogl.MaterialWrapMode
Cogl.Material
Method
set_layer_wrap_mode (gint32 layer_index, MaterialWrapMode mode) : none
Sets the wrap mode for both coordinates of texture lookups on this
layer.
Cogl.Material
Method
set_layer_wrap_mode_p (gint32 layer_index, MaterialWrapMode mode) : none
Cogl.Material
Method
set_layer_wrap_mode_s (gint32 layer_index, MaterialWrapMode mode) : none
Sets the wrap mode for the 's' coordinate of texture lookups on this layer.
Cogl.Material
Method
set_layer_wrap_mode_t (gint32 layer_index, MaterialWrapMode mode) : none
Sets the wrap mode for the 't' coordinate of texture lookups on this layer.
Cogl.MaterialLayer
Method
get_wrap_mode_p () : Cogl.MaterialWrapMode
Cogl.MaterialLayer
Method
get_wrap_mode_s () : Cogl.MaterialWrapMode
Gets the wrap mode for the 's' coordinate of texture lookups on this layer.
Cogl.MaterialLayer
Method
get_wrap_mode_t () : Cogl.MaterialWrapMode
Gets the wrap mode for the 't' coordinate of texture lookups on this layer.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:09:58 GMT+0800 (HKT)