| Import line: | Cogl = imports.gi.Cogl; |
| GIR File: | Cogl-1.0.gir |
| C documentation: | CoglTextureFlags |
| Enum : | TextureFlags |
| Show / Hide Inherited methods, properties and signals |
| Properties | |
|---|---|
|
Number Cogl.TextureFlags.NONE : 0
|
|
|
Number Cogl.TextureFlags.NO_ATLAS : 4
|
|
|
Number Cogl.TextureFlags.NO_AUTO_MIPMAP : 1
|
|
|
Number Cogl.TextureFlags.NO_SLICING : 2
|
|
| None |
| None |
| None |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
Cogl
Method |
Cogl.texture_new_from_bitmap
(void* bmp_handle, TextureFlags flags, PixelFormat internal_format)
:
void*
texture Creates a COGL texture from a CoglBitmap.
|
|
Cogl
Method |
Cogl.texture_new_from_data
(Number width, Number height, TextureFlags flags, PixelFormat format, PixelFormat internal_format, Number rowstride, String data)
:
void*
Creates a new COGL texture based on data residing in memory.
|
|
Cogl
Method |
Cogl.texture_new_from_file
(String filename, TextureFlags flags, PixelFormat internal_format)
:
void*
Creates a COGL texture from an image file.
|
|
Cogl
Method |
Cogl.texture_new_with_size
(Number width, Number height, TextureFlags flags, PixelFormat internal_format)
:
void*
Creates a new COGL texture with the specified dimensions and pixel format.
|