Cached items are currently used for OpenGL and Direct3D 12 binary shaders.
fatal and trace_vargs callbacks can be called from any thread. Other callbacks are called from the render thread.
struct bgfx_callback_interface_t {
bgfx_callback_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 | BGFXCallbackInterface(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static BGFXCallbackInterface | |
| public static BGFXCallbackInterface | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXCallbackInterface | |
| public static BGFXCallbackInterface | |
| protected BGFXCallbackInterface | 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 BGFXCallbackInterface | |
| public static BGFXCallbackInterface | |
| public static BGFXCallbackInterface | |
| public static BGFXCallbackInterface | |
| public static BGFXCallbackInterface | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXCallbackInterface | |
| public static BGFXCallbackInterface | |
| public static BGFXCallbackVtbl | |
| public static void | |
| public BGFXCallbackInterface | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void | |
| public BGFXCallbackVtbl | |
| public BGFXCallbackInterface |
| 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. | |
| BGFXCallbackInterface | back to summary |
|---|---|
| protected BGFXCallbackInterface(long address, ByteBuffer container) | |
| BGFXCallbackInterface | back to summary |
|---|---|
| public BGFXCallbackInterface(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static BGFXCallbackInterface calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static BGFXCallbackInterface calloc(MemoryStack stack) Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static BGFXCallbackInterface callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static BGFXCallbackInterface callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected BGFXCallbackInterface create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static BGFXCallbackInterface create() Returns a new | |
| create | back to summary |
|---|---|
| public static BGFXCallbackInterface create(long address) Returns a new | |
| createSafe | back to summary |
|---|---|
| public static BGFXCallbackInterface createSafe(long address) Like
| |
| malloc | back to summary |
|---|---|
| public static BGFXCallbackInterface malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static BGFXCallbackInterface malloc(MemoryStack stack) Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXCallbackInterface mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXCallbackInterface mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nvtbl | back to summary |
|---|---|
| public static BGFXCallbackVtbl nvtbl(long struct) Unsafe version of | |
| nvtbl | back to summary |
|---|---|
| public static void nvtbl(long struct, BGFXCallbackVtbl value) Unsafe version of | |
| set | back to summary |
|---|---|
| public BGFXCallbackInterface set(BGFXCallbackInterface 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 BGFXCallbackVtbl vtbl() the callback virtual table
| |
| vtbl | back to summary |
|---|---|
| public BGFXCallbackInterface vtbl(BGFXCallbackVtbl value) Sets the address of the specified | |