struct bgfx_platform_data_t {
void * ndt;
void * nwh;
void * context;
void * backBuffer;
void * backBufferDS;
bgfx_native_window_handle_type_t type;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BACKBUFFER
The struct member offsets. |
| public static final int | BACKBUFFERDS
The struct member offsets. |
| public static final int | CONTEXT
The struct member offsets. |
| public static final int | NDT
The struct member offsets. |
| public static final int | NWH
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | BGFXPlatformData(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public BGFXPlatformData | |
| public long | |
| public BGFXPlatformData | |
| public static BGFXPlatformData | |
| public static BGFXPlatformData | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXPlatformData | |
| public static BGFXPlatformData | |
| public long | |
| public BGFXPlatformData | |
| protected BGFXPlatformData | 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 BGFXPlatformData | |
| public static BGFXPlatformData | |
| public static BGFXPlatformData | |
| public static BGFXPlatformData | |
| public static BGFXPlatformData | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXPlatformData | |
| public static BGFXPlatformData | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public long | |
| public BGFXPlatformData | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public BGFXPlatformData | |
| public BGFXPlatformData | set(long ndt, long nwh, long context, long backBuffer, long backBufferDS, int type)
Initializes this struct with the specified values. |
| public BGFXPlatformData | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public BGFXPlatformData |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BACKBUFFER | back to summary |
|---|---|
| public static final int BACKBUFFER The struct member offsets. | |
| BACKBUFFERDS | back to summary |
|---|---|
| public static final int BACKBUFFERDS The struct member offsets. | |
| CONTEXT | back to summary |
|---|---|
| public static final int CONTEXT The struct member offsets. | |
| NDT | back to summary |
|---|---|
| public static final int NDT The struct member offsets. | |
| NWH | back to summary |
|---|---|
| public static final int NWH The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| BGFXPlatformData | back to summary |
|---|---|
| protected BGFXPlatformData(long address, ByteBuffer container) | |
| BGFXPlatformData | back to summary |
|---|---|
| public BGFXPlatformData(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| backBuffer | back to summary |
|---|---|
| public long backBuffer() GL back-buffer, or D3D render target view. If
| |
| backBuffer | back to summary |
|---|---|
| public BGFXPlatformData backBuffer(long value) Sets the specified value to the | |
| backBufferDS | back to summary |
|---|---|
| public long backBufferDS() backbuffer depth/stencil. If
| |
| backBufferDS | back to summary |
|---|---|
| public BGFXPlatformData backBufferDS(long value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static BGFXPlatformData calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static BGFXPlatformData calloc(MemoryStack stack) Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static BGFXPlatformData callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static BGFXPlatformData callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| context | back to summary |
|---|---|
| public long context() GL context, D3D device, or Vulkan device. If
| |
| context | back to summary |
|---|---|
| public BGFXPlatformData context(long value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected BGFXPlatformData create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static BGFXPlatformData create() Returns a new | |
| create | back to summary |
|---|---|
| public static BGFXPlatformData create(long address) Returns a new | |
| createSafe | back to summary |
|---|---|
| public static BGFXPlatformData createSafe(long address) Like
| |
| malloc | back to summary |
|---|---|
| public static BGFXPlatformData malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static BGFXPlatformData malloc(MemoryStack stack) Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXPlatformData mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXPlatformData mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbackBuffer | back to summary |
|---|---|
| public static long nbackBuffer(long struct) Unsafe version of | |
| nbackBuffer | back to summary |
|---|---|
| public static void nbackBuffer(long struct, long value) Unsafe version of | |
| nbackBufferDS | back to summary |
|---|---|
| public static long nbackBufferDS(long struct) Unsafe version of | |
| nbackBufferDS | back to summary |
|---|---|
| public static void nbackBufferDS(long struct, long value) Unsafe version of | |
| ncontext | back to summary |
|---|---|
| public static long ncontext(long struct) Unsafe version of | |
| ncontext | back to summary |
|---|---|
| public static void ncontext(long struct, long value) Unsafe version of | |
| ndt | back to summary |
|---|---|
| public long ndt() native display type (*nix specific)
| |
| ndt | back to summary |
|---|---|
| public BGFXPlatformData ndt(long value) Sets the specified value to the | |
| nndt | back to summary |
|---|---|
| public static long nndt(long struct) Unsafe version of | |
| nndt | back to summary |
|---|---|
| public static void nndt(long struct, long value) Unsafe version of | |
| nnwh | back to summary |
|---|---|
| public static long nnwh(long struct) Unsafe version of | |
| nnwh | back to summary |
|---|---|
| public static void nnwh(long struct, long value) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| nwh | back to summary |
|---|---|
| public long nwh() native window handle. If
| |
| nwh | back to summary |
|---|---|
| public BGFXPlatformData nwh(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public BGFXPlatformData set(long ndt, long nwh, long context, long backBuffer, long backBufferDS, int type) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public BGFXPlatformData set(BGFXPlatformData src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary |
|---|---|
| public int type() handle type. Needed for platforms having more than one option.
| |
| type | back to summary |
|---|---|
| public BGFXPlatformData type(int value) Sets the specified value to the | |