Buffer
Object Hierarchy:
Description:
[ SimpleType ]
public struct Buffer
Content:
Static methods:
- public static uint get_size (Buffer buffer)
Retrieves the size of buffer
- public static BufferUpdateHint get_update_hint (Buffer buffer)
- public static void* map (Buffer buffer, BufferAccess access, BufferMapHint hints)
Maps the buffer into the application address space for direct access.
- public static void* map_range (Buffer buffer, ulong offset, ulong size, BufferAccess access, BufferMapHint hints) throws Error
Maps a sub-region of the buffer into the application's address space
for direct access.
- public static Bool set_data (Buffer buffer, ulong offset, void* data, ulong size)
Updates part of the buffer with new data from data
.
- public static void set_update_hint (Buffer buffer, BufferUpdateHint hint)
Sets the update hint on a buffer.
- public static void unmap (Buffer buffer)
Unmaps a buffer previously mapped by
map.