struct bgfx_resolution_t {
bgfx_texture_format_t format;
uint32_t width;
uint32_t height;
uint32_t reset;
uint8_t numBackBuffers;
uint8_t maxFrameLatency;
uint8_t debugTextScale;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEBUGTEXTSCALE
The struct member offsets. |
| public static final int | FORMAT
The struct member offsets. |
| public static final int | HEIGHT
The struct member offsets. |
| public static final int | MAXFRAMELATENCY
The struct member offsets. |
| public static final int | NUMBACKBUFFERS
The struct member offsets. |
| public static final int | RESET
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | BGFXResolution(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static BGFXResolution | |
| public static BGFXResolution | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXResolution | |
| public static BGFXResolution | |
| protected BGFXResolution | 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 BGFXResolution | |
| public static BGFXResolution | |
| public static BGFXResolution | |
| public byte | |
| public BGFXResolution | |
| public int | |
| public BGFXResolution | |
| public int | |
| public BGFXResolution | |
| public static BGFXResolution | |
| public static BGFXResolution | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static BGFXResolution | |
| public static BGFXResolution | |
| public byte | |
| public BGFXResolution | |
| public static byte | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static byte | |
| public static void | |
| public static byte | |
| public static void | |
| public static int | |
| public static void | |
| public byte | |
| public BGFXResolution | |
| public static int | |
| public static void | |
| public int | |
| public BGFXResolution | |
| public BGFXResolution | set(int format, int width, int height, int reset, byte numBackBuffers, byte maxFrameLatency, byte debugTextScale)
Initializes this struct with the specified values. |
| public BGFXResolution | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public BGFXResolution |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEBUGTEXTSCALE | back to summary |
|---|---|
| public static final int DEBUGTEXTSCALE The struct member offsets. | |
| FORMAT | back to summary |
|---|---|
| public static final int FORMAT The struct member offsets. | |
| HEIGHT | back to summary |
|---|---|
| public static final int HEIGHT The struct member offsets. | |
| MAXFRAMELATENCY | back to summary |
|---|---|
| public static final int MAXFRAMELATENCY The struct member offsets. | |
| NUMBACKBUFFERS | back to summary |
|---|---|
| public static final int NUMBACKBUFFERS The struct member offsets. | |
| RESET | back to summary |
|---|---|
| public static final int RESET The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WIDTH | back to summary |
|---|---|
| public static final int WIDTH The struct member offsets. | |
| BGFXResolution | back to summary |
|---|---|
| protected BGFXResolution(long address, ByteBuffer container) | |
| BGFXResolution | back to summary |
|---|---|
| public BGFXResolution(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static BGFXResolution calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static BGFXResolution calloc(MemoryStack stack) Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static BGFXResolution callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static BGFXResolution callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected BGFXResolution create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static BGFXResolution create() Returns a new | |
| create | back to summary |
|---|---|
| public static BGFXResolution create(long address) Returns a new | |
| createSafe | back to summary |
|---|---|
| public static BGFXResolution createSafe(long address) Like
| |
| debugTextScale | back to summary |
|---|---|
| public byte debugTextScale() scale factor for debug text
| |
| debugTextScale | back to summary |
|---|---|
| public BGFXResolution debugTextScale(byte value) Sets the specified value to the | |
| format | back to summary |
|---|---|
| public int format() backbuffer format
| |
| format | back to summary |
|---|---|
| public BGFXResolution format(int value) Sets the specified value to the | |
| height | back to summary |
|---|---|
| public int height() backbuffer height
| |
| height | back to summary |
|---|---|
| public BGFXResolution height(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static BGFXResolution malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static BGFXResolution malloc(MemoryStack stack) Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXResolution mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static BGFXResolution mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| maxFrameLatency | back to summary |
|---|---|
| public byte maxFrameLatency() maximum frame latency
| |
| maxFrameLatency | back to summary |
|---|---|
| public BGFXResolution maxFrameLatency(byte value) Sets the specified value to the | |
| ndebugTextScale | back to summary |
|---|---|
| public static byte ndebugTextScale(long struct) Unsafe version of | |
| ndebugTextScale | back to summary |
|---|---|
| public static void ndebugTextScale(long struct, byte value) Unsafe version of | |
| nformat | back to summary |
|---|---|
| public static int nformat(long struct) Unsafe version of | |
| nformat | back to summary |
|---|---|
| public static void nformat(long struct, int value) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static int nheight(long struct) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static void nheight(long struct, int value) Unsafe version of | |
| nmaxFrameLatency | back to summary |
|---|---|
| public static byte nmaxFrameLatency(long struct) Unsafe version of | |
| nmaxFrameLatency | back to summary |
|---|---|
| public static void nmaxFrameLatency(long struct, byte value) Unsafe version of | |
| nnumBackBuffers | back to summary |
|---|---|
| public static byte nnumBackBuffers(long struct) Unsafe version of | |
| nnumBackBuffers | back to summary |
|---|---|
| public static void nnumBackBuffers(long struct, byte value) Unsafe version of | |
| nreset | back to summary |
|---|---|
| public static int nreset(long struct) Unsafe version of | |
| nreset | back to summary |
|---|---|
| public static void nreset(long struct, int value) Unsafe version of | |
| numBackBuffers | back to summary |
|---|---|
| public byte numBackBuffers() number of back buffers
| |
| numBackBuffers | back to summary |
|---|---|
| public BGFXResolution numBackBuffers(byte value) Sets the specified value to the | |
| nwidth | back to summary |
|---|---|
| public static int nwidth(long struct) Unsafe version of | |
| nwidth | back to summary |
|---|---|
| public static void nwidth(long struct, int value) Unsafe version of | |
| reset | back to summary |
|---|---|
| public int reset() reset parameters
| |
| reset | back to summary |
|---|---|
| public BGFXResolution reset(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public BGFXResolution set(int format, int width, int height, int reset, byte numBackBuffers, byte maxFrameLatency, byte debugTextScale) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public BGFXResolution set(BGFXResolution src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| width | back to summary |
|---|---|
| public int width() backbuffer width
| |
| width | back to summary |
|---|---|
| public BGFXResolution width(int value) Sets the specified value to the | |