Cogl.TextureRectangle – doc Reference Manual
Packages
doc
Cogl
TextureRectangle
TextureRectangle
TextureRectangle.from_bitmap
TextureRectangle.from_foreign
TextureRectangle.with_size
TextureRectangle
Object Hierarchy:
Description:
public
class
TextureRectangle
:
Object
,
Texture
Namespace:
Cogl
Package:
doc
Content:
Creation methods:
protected
TextureRectangle
()
public
TextureRectangle.from_bitmap
(
Bitmap
bitmap)
Allocates a new
TextureRectangle
texture which will be initialized with the pixel data from
bitmap
.
public
TextureRectangle.from_foreign
(
Context
ctx,
uint
gl_handle,
int
width,
int
height,
PixelFormat
format)
Wraps an existing GL_TEXTURE_RECTANGLE texture object as a
TextureRectangle
.
public
TextureRectangle.with_size
(
Context
ctx,
int
width,
int
height)
Creates a new
TextureRectangle
texture with a given
width
, and
height
.
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