Cogl.Texture2DSliced – doc Reference Manual
Packages
doc
Cogl
Texture2DSliced
Texture2DSliced
Texture2DSliced.from_bitmap
Texture2DSliced.from_data
Texture2DSliced.from_file
Texture2DSliced.with_size
Texture2DSliced
Object Hierarchy:
Description:
public
class
Texture2DSliced
:
Object
,
Texture
Namespace:
Cogl
Package:
doc
Content:
Creation methods:
protected
Texture2DSliced
()
public
Texture2DSliced.from_bitmap
(
Bitmap
bmp,
int
max_waste)
Creates a new
Texture2DSliced
texture based on data residing in a bitmap.
public
Texture2DSliced.from_data
(
Context
ctx,
int
width,
int
height,
int
max_waste,
PixelFormat
format,
int
rowstride,
uint8
data)
throws
Error
Creates a new
Texture2DSliced
texture based on data residing in memory.
public
Texture2DSliced.from_file
(
Context
ctx,
string
filename,
int
max_waste)
throws
Error
Creates a
Texture2DSliced
from an image file.
public
Texture2DSliced.with_size
(
Context
ctx,
int
width,
int
height,
int
max_waste)
Creates a
Texture2DSliced
that may internally be comprised of 1 or more
Texture2D
textures depending on GPU limitations.
Inherited Members:
All known members inherited from class Cogl.Object
value_set_object
All known members inherited from interface Cogl.Texture
allocate
get_components
get_data
get_gl_texture
get_height
get_max_waste
get_premultiplied
get_width
is_sliced
set_components
set_data
set_premultiplied
set_region
set_region_from_bitmap