Class

CoglTexture2DSliced

Description

final class Cogl.Texture2DSliced : GObject.TypeInstance {
  /* No available fields */
}
No description available.

Hierarchy

hierarchy this CoglTexture2DSliced implements_0 CoglTexture this--implements_0 ancestor_0 CoglObject ancestor_0--this

Ancestors

Implements

Constructors

cogl_texture_2d_sliced_new_from_bitmap

Creates a new CoglTexture2DSliced texture based on data residing in a bitmap.

Available since: 1.16

cogl_texture_2d_sliced_new_from_data

Creates a new CoglTexture2DSliced texture based on data residing in memory.

Available since: 1.16

cogl_texture_2d_sliced_new_from_file

Creates a CoglTexture2DSliced from an image file.

Available since: 1.16

cogl_texture_2d_sliced_new_with_size

Creates a CoglTexture2DSliced that may internally be comprised of 1 or more CoglTexture2D textures depending on GPU limitations. For example if the GPU only supports power-of-two sized textures then a sliced texture will turn a non-power-of-two size into a combination of smaller power-of-two sized textures. If the requested texture size is larger than is supported by the hardware then the texture will be sliced into smaller textures that can be accessed by the hardware.

Available since: 1.10