struct bgfx_allocator_interface_t {
bgfx_allocator_vtbl_t const * vtbl;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VTBL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | BGFXAllocatorInterface(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static BGFXAllocatorInterface | |
| public static BGFXAllocatorInterface | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXAllocatorInterface | |
| public static BGFXAllocatorInterface | |
| protected BGFXAllocatorInterface | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static BGFXAllocatorInterface | |
| public static BGFXAllocatorInterface | |
| public static BGFXAllocatorInterface | |
| public static BGFXAllocatorInterface | |
| public static BGFXAllocatorInterface | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXAllocatorInterface | |
| public static BGFXAllocatorInterface | |
| public static BGFXAllocatorVtbl | |
| public static void | |
| public BGFXAllocatorInterface | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void | |
| public BGFXAllocatorVtbl | |
| public BGFXAllocatorInterface |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VTBL | back to summary |
|---|---|
| public static final int VTBL The struct member offsets. | |
| BGFXAllocatorInterface | back to summary |
|---|---|
| protected BGFXAllocatorInterface(long address, ByteBuffer container) | |
| BGFXAllocatorInterface | back to summary |
|---|---|
| public BGFXAllocatorInterface(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static BGFXAllocatorInterface calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static BGFXAllocatorInterface calloc(MemoryStack stack) Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static BGFXAllocatorInterface callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static BGFXAllocatorInterface callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected BGFXAllocatorInterface create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static BGFXAllocatorInterface create() Returns a new | |
| create | back to summary |
|---|---|
| public static BGFXAllocatorInterface create(long address) Returns a new | |
| createSafe | back to summary |
|---|---|
| public static BGFXAllocatorInterface createSafe(long address) Like
| |
| malloc | back to summary |
|---|---|
| public static BGFXAllocatorInterface malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static BGFXAllocatorInterface malloc(MemoryStack stack) Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXAllocatorInterface mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXAllocatorInterface mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nvtbl | back to summary |
|---|---|
| public static BGFXAllocatorVtbl nvtbl(long struct) Unsafe version of | |
| nvtbl | back to summary |
|---|---|
| public static void nvtbl(long struct, BGFXAllocatorVtbl value) Unsafe version of | |
| set | back to summary |
|---|---|
| public BGFXAllocatorInterface set(BGFXAllocatorInterface src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
| vtbl | back to summary |
|---|---|
| public BGFXAllocatorVtbl vtbl() the allocator virtual table
| |
| vtbl | back to summary |
|---|---|
| public BGFXAllocatorInterface vtbl(BGFXAllocatorVtbl value) Sets the address of the specified | |