Functions | |
rs_allocation | rsGetAllocation (const void *) |
uint32_t | rsAllocationGetDimX (rs_allocation) |
uint32_t | rsAllocationGetDimY (rs_allocation) |
uint32_t | rsAllocationGetDimZ (rs_allocation) |
uint32_t | rsAllocationGetDimLOD (rs_allocation) |
uint32_t | rsAllocationGetDimFaces (rs_allocation) |
const void * | rsGetElementAt (rs_allocation, uint32_t x) |
const void * | rsGetElementAt (rs_allocation, uint32_t x, uint32_t y) |
const void * | rsGetElementAt (rs_allocation, uint32_t x, uint32_t y, uint32_t z) |
Allocation routines.
Definition in file rs_allocation.rsh.
uint32_t rsAllocationGetDimFaces | ( | rs_allocation | ) |
Query an allocation for the presence of more than one face.
uint32_t rsAllocationGetDimLOD | ( | rs_allocation | ) |
Query an allocation for the presence of more than one LOD.
uint32_t rsAllocationGetDimX | ( | rs_allocation | ) |
Query the dimension of an allocation.
uint32_t rsAllocationGetDimY | ( | rs_allocation | ) |
Query the dimension of an allocation.
uint32_t rsAllocationGetDimZ | ( | rs_allocation | ) |
Query the dimension of an allocation.
rs_allocation rsGetAllocation | ( | const void * | ) |
Returns the Allocation for a given pointer. The pointer should point within a valid allocation. The results are undefined if the pointer is not from a valid allocation.
const void* rsGetElementAt | ( | rs_allocation | , |
uint32_t | x | ||
) |
Extract a single element from an allocation.
const void* rsGetElementAt | ( | rs_allocation | , |
uint32_t | x, | ||
uint32_t | y | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
const void* rsGetElementAt | ( | rs_allocation | , |
uint32_t | x, | ||
uint32_t | y, | ||
uint32_t | z | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.