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
  Show / Hide Inherited methods, properties and signals
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
Method
Cogl.material_layer_get_wrap_mode_s (void* layer) : Cogl.MaterialWrapMode
Gets the wrap mode for the 's' coordinate of texture lookups on this layer.
Cogl
Method
Cogl.material_layer_get_wrap_mode_t (void* layer) : Cogl.MaterialWrapMode
Gets the wrap mode for the 't' coordinate of texture lookups on this layer.
Cogl
Method
Cogl.material_set_layer_wrap_mode (void* material, Number layer_index, MaterialWrapMode mode) : none
Sets the wrap mode for both coordinates of texture lookups on this layer.
Cogl
Method
Cogl.material_set_layer_wrap_mode_s (void* material, Number layer_index, MaterialWrapMode mode) : none
Sets the wrap mode for the 's' coordinate of texture lookups on this layer.
Cogl
Method
Cogl.material_set_layer_wrap_mode_t (void* material, Number layer_index, MaterialWrapMode mode) : none
Sets 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 Tue Jun 22 2010 16:32:40 GMT+0800 (HKT)