Constructor
MetaMultiTexturenew
Declaration [src]
MetaMultiTexture*
meta_multi_texture_new (
MetaMultiTextureFormat format,
CoglTexture** planes,
int n_planes
)
Description [src]
Creates a MetaMultiTexture with the given format. Each of the
CoglTextures represents a plane.
Parameters
format-
Type:
MetaMultiTextureFormatThe format of the
MetaMultiTexture. planes-
Type:
CoglTextureThe actual planes of the texture.
The called function takes ownership of the data, and is responsible for freeing it. n_planes-
Type:
intThe number of planes.
Return value
Type: MetaMultiTexture
A new MetaMultiTexture. Use g_object_unref() when
you’re done with it.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |