Cogl.Buffer – cogl-1.0 Reference Manual
Packages
cogl-1.0
Cogl
Buffer
access_get_type
bit_get_type
map_hint_get_type
target_get_type
update_hint_get_type
get_size
get_update_hint
map
set_data
set_update_hint
unmap
Buffer
Object Hierarchy:
Description:
[
CCode
( cname =
"CoglHandle"
) ]
[
Compact
]
public
class
Buffer
:
Handle
Namespace:
Cogl
Package:
cogl-1.0
Content:
Static methods:
public
static
Type
access_get_type
()
public
static
Type
bit_get_type
()
public
static
Type
map_hint_get_type
()
public
static
Type
target_get_type
()
public
static
Type
update_hint_get_type
()
Methods:
public
uint
get_size
()
Retrieves the size of buffer
public
BufferUpdateHint
get_update_hint
()
Retrieves the update hints set using
set_update_hint
public
uchar
map
(
BufferAccess
access)
Maps the buffer into the application address space for direct access.
public
bool
set_data
(
size_t
offset,
uint8
[] data)
Updates part of the buffer with new data from
data
.
public
void
set_update_hint
(
BufferUpdateHint
hint)
Sets the update hint on a buffer.
public
void
unmap
()
Unmaps a buffer previously mapped by
map
.
Inherited Members:
All known members inherited from class Cogl.Handle
is_bitmap
is_buffer
is_material
is_offscreen
is_pixel_buffer
is_program
is_shader
is_texture
is_vertex_buffer