public class BGFXCapsLimits
extends org.lwjgl.system.Struct
maxDrawCalls – maximum number of draw callsmaxBlits – maximum number of blit callsmaxTextureSize – maximum texture sizemaxTextureLayers – maximum texture layersmaxViews – maximum number of viewsmaxFrameBuffers – maximum number of frame buffer handlesmaxFBAttachments – maximum number of frame buffer attachmentsmaxPrograms – maximum number of program handlesmaxShaders – maximum number of shader handlesmaxTextures – maximum number of texture handlesmaxTextureSamplers – maximum number of texture samplersmaxComputeBindings – maximum number of compute bindingsmaxVertexLayouts – maximum number of vertex format layoutsmaxVertexStreams – maximum number of vertex streamsmaxIndexBuffers – maximum number of index buffer handlesmaxVertexBuffers – maximum number of vertex buffer handlesmaxDynamicIndexBuffers – maximum number of dynamic index buffer handlesmaxDynamicVertexBuffers – maximum number of vertex buffer handlesmaxUniforms – maximum number of uniform handlesmaxOcclusionQueries – maximum number of occlusion query handlesmaxEncoders – maximum number of encoder threadstransientVbSize – maximum transient vertex buffer sizetransientIbSize – maximum transient index buffer size
struct bgfx_caps_limits_t {
uint32_t maxDrawCalls;
uint32_t maxBlits;
uint32_t maxTextureSize;
uint32_t maxTextureLayers;
uint32_t maxViews;
uint32_t maxFrameBuffers;
uint32_t maxFBAttachments;
uint32_t maxPrograms;
uint32_t maxShaders;
uint32_t maxTextures;
uint32_t maxTextureSamplers;
uint32_t maxComputeBindings;
uint32_t maxVertexLayouts;
uint32_t maxVertexStreams;
uint32_t maxIndexBuffers;
uint32_t maxVertexBuffers;
uint32_t maxDynamicIndexBuffers;
uint32_t maxDynamicVertexBuffers;
uint32_t maxUniforms;
uint32_t maxOcclusionQueries;
uint32_t maxEncoders;
uint32_t transientVbSize;
uint32_t transientIbSize;
}| Modifier and Type | Class and Description |
|---|---|
static class |
BGFXCapsLimits.Buffer
An array of
BGFXCapsLimits structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXBLITS
The struct member offsets.
|
static int |
MAXCOMPUTEBINDINGS
The struct member offsets.
|
static int |
MAXDRAWCALLS
The struct member offsets.
|
static int |
MAXDYNAMICINDEXBUFFERS
The struct member offsets.
|
static int |
MAXDYNAMICVERTEXBUFFERS
The struct member offsets.
|
static int |
MAXENCODERS
The struct member offsets.
|
static int |
MAXFBATTACHMENTS
The struct member offsets.
|
static int |
MAXFRAMEBUFFERS
The struct member offsets.
|
static int |
MAXINDEXBUFFERS
The struct member offsets.
|
static int |
MAXOCCLUSIONQUERIES
The struct member offsets.
|
static int |
MAXPROGRAMS
The struct member offsets.
|
static int |
MAXSHADERS
The struct member offsets.
|
static int |
MAXTEXTURELAYERS
The struct member offsets.
|
static int |
MAXTEXTURES
The struct member offsets.
|
static int |
MAXTEXTURESAMPLERS
The struct member offsets.
|
static int |
MAXTEXTURESIZE
The struct member offsets.
|
static int |
MAXUNIFORMS
The struct member offsets.
|
static int |
MAXVERTEXBUFFERS
The struct member offsets.
|
static int |
MAXVERTEXLAYOUTS
The struct member offsets.
|
static int |
MAXVERTEXSTREAMS
The struct member offsets.
|
static int |
MAXVIEWS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TRANSIENTIBSIZE
The struct member offsets.
|
static int |
TRANSIENTVBSIZE
The struct member offsets.
|
| Constructor and Description |
|---|
BGFXCapsLimits(java.nio.ByteBuffer container)
Creates a
BGFXCapsLimits instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static BGFXCapsLimits |
create(long address)
Returns a new
BGFXCapsLimits instance for the specified memory address. |
static BGFXCapsLimits.Buffer |
create(long address,
int capacity)
Create a
BGFXCapsLimits.Buffer instance at the specified memory. |
static BGFXCapsLimits |
createSafe(long address)
|
static BGFXCapsLimits.Buffer |
createSafe(long address,
int capacity)
|
int |
maxBlits()
Returns the value of the
maxBlits field. |
int |
maxComputeBindings()
Returns the value of the
maxComputeBindings field. |
int |
maxDrawCalls()
Returns the value of the
maxDrawCalls field. |
int |
maxDynamicIndexBuffers()
Returns the value of the
maxDynamicIndexBuffers field. |
int |
maxDynamicVertexBuffers()
Returns the value of the
maxDynamicVertexBuffers field. |
int |
maxEncoders()
Returns the value of the
maxEncoders field. |
int |
maxFBAttachments()
Returns the value of the
maxFBAttachments field. |
int |
maxFrameBuffers()
Returns the value of the
maxFrameBuffers field. |
int |
maxIndexBuffers()
Returns the value of the
maxIndexBuffers field. |
int |
maxOcclusionQueries()
Returns the value of the
maxOcclusionQueries field. |
int |
maxPrograms()
Returns the value of the
maxPrograms field. |
int |
maxShaders()
Returns the value of the
maxShaders field. |
int |
maxTextureLayers()
Returns the value of the
maxTextureLayers field. |
int |
maxTextures()
Returns the value of the
maxTextures field. |
int |
maxTextureSamplers()
Returns the value of the
maxTextureSamplers field. |
int |
maxTextureSize()
Returns the value of the
maxTextureSize field. |
int |
maxUniforms()
Returns the value of the
maxUniforms field. |
int |
maxVertexBuffers()
Returns the value of the
maxVertexBuffers field. |
int |
maxVertexLayouts()
Returns the value of the
maxVertexLayouts field. |
int |
maxVertexStreams()
Returns the value of the
maxVertexStreams field. |
int |
maxViews()
Returns the value of the
maxViews field. |
static int |
nmaxBlits(long struct)
Unsafe version of
maxBlits(). |
static int |
nmaxComputeBindings(long struct)
Unsafe version of
maxComputeBindings(). |
static int |
nmaxDrawCalls(long struct)
Unsafe version of
maxDrawCalls(). |
static int |
nmaxDynamicIndexBuffers(long struct)
Unsafe version of
maxDynamicIndexBuffers(). |
static int |
nmaxDynamicVertexBuffers(long struct)
Unsafe version of
maxDynamicVertexBuffers(). |
static int |
nmaxEncoders(long struct)
Unsafe version of
maxEncoders(). |
static int |
nmaxFBAttachments(long struct)
Unsafe version of
maxFBAttachments(). |
static int |
nmaxFrameBuffers(long struct)
Unsafe version of
maxFrameBuffers(). |
static int |
nmaxIndexBuffers(long struct)
Unsafe version of
maxIndexBuffers(). |
static int |
nmaxOcclusionQueries(long struct)
Unsafe version of
maxOcclusionQueries(). |
static int |
nmaxPrograms(long struct)
Unsafe version of
maxPrograms(). |
static int |
nmaxShaders(long struct)
Unsafe version of
maxShaders(). |
static int |
nmaxTextureLayers(long struct)
Unsafe version of
maxTextureLayers(). |
static int |
nmaxTextures(long struct)
Unsafe version of
maxTextures(). |
static int |
nmaxTextureSamplers(long struct)
Unsafe version of
maxTextureSamplers(). |
static int |
nmaxTextureSize(long struct)
Unsafe version of
maxTextureSize(). |
static int |
nmaxUniforms(long struct)
Unsafe version of
maxUniforms(). |
static int |
nmaxVertexBuffers(long struct)
Unsafe version of
maxVertexBuffers(). |
static int |
nmaxVertexLayouts(long struct)
Unsafe version of
maxVertexLayouts(). |
static int |
nmaxVertexStreams(long struct)
Unsafe version of
maxVertexStreams(). |
static int |
nmaxViews(long struct)
Unsafe version of
maxViews(). |
static int |
ntransientIbSize(long struct)
Unsafe version of
transientIbSize(). |
static int |
ntransientVbSize(long struct)
Unsafe version of
transientVbSize(). |
int |
sizeof() |
int |
transientIbSize()
Returns the value of the
transientIbSize field. |
int |
transientVbSize()
Returns the value of the
transientVbSize field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int MAXDRAWCALLS
public static final int MAXBLITS
public static final int MAXTEXTURESIZE
public static final int MAXTEXTURELAYERS
public static final int MAXVIEWS
public static final int MAXFRAMEBUFFERS
public static final int MAXFBATTACHMENTS
public static final int MAXPROGRAMS
public static final int MAXSHADERS
public static final int MAXTEXTURES
public static final int MAXTEXTURESAMPLERS
public static final int MAXCOMPUTEBINDINGS
public static final int MAXVERTEXLAYOUTS
public static final int MAXVERTEXSTREAMS
public static final int MAXINDEXBUFFERS
public static final int MAXVERTEXBUFFERS
public static final int MAXDYNAMICINDEXBUFFERS
public static final int MAXDYNAMICVERTEXBUFFERS
public static final int MAXUNIFORMS
public static final int MAXOCCLUSIONQUERIES
public static final int MAXENCODERS
public static final int TRANSIENTVBSIZE
public static final int TRANSIENTIBSIZE
public BGFXCapsLimits(java.nio.ByteBuffer container)
BGFXCapsLimits instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int maxDrawCalls()
maxDrawCalls field.public int maxBlits()
maxBlits field.public int maxTextureSize()
maxTextureSize field.public int maxTextureLayers()
maxTextureLayers field.public int maxViews()
maxViews field.public int maxFrameBuffers()
maxFrameBuffers field.public int maxFBAttachments()
maxFBAttachments field.public int maxPrograms()
maxPrograms field.public int maxShaders()
maxShaders field.public int maxTextures()
maxTextures field.public int maxTextureSamplers()
maxTextureSamplers field.public int maxComputeBindings()
maxComputeBindings field.public int maxVertexLayouts()
maxVertexLayouts field.public int maxVertexStreams()
maxVertexStreams field.public int maxIndexBuffers()
maxIndexBuffers field.public int maxVertexBuffers()
maxVertexBuffers field.public int maxDynamicIndexBuffers()
maxDynamicIndexBuffers field.public int maxDynamicVertexBuffers()
maxDynamicVertexBuffers field.public int maxUniforms()
maxUniforms field.public int maxOcclusionQueries()
maxOcclusionQueries field.public int maxEncoders()
maxEncoders field.public int transientVbSize()
transientVbSize field.public int transientIbSize()
transientIbSize field.public static BGFXCapsLimits create(long address)
BGFXCapsLimits instance for the specified memory address.@Nullable public static BGFXCapsLimits createSafe(long address)
public static BGFXCapsLimits.Buffer create(long address, int capacity)
BGFXCapsLimits.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static BGFXCapsLimits.Buffer createSafe(long address, int capacity)
public static int nmaxDrawCalls(long struct)
maxDrawCalls().public static int nmaxBlits(long struct)
maxBlits().public static int nmaxTextureSize(long struct)
maxTextureSize().public static int nmaxTextureLayers(long struct)
maxTextureLayers().public static int nmaxViews(long struct)
maxViews().public static int nmaxFrameBuffers(long struct)
maxFrameBuffers().public static int nmaxFBAttachments(long struct)
maxFBAttachments().public static int nmaxPrograms(long struct)
maxPrograms().public static int nmaxShaders(long struct)
maxShaders().public static int nmaxTextures(long struct)
maxTextures().public static int nmaxTextureSamplers(long struct)
maxTextureSamplers().public static int nmaxComputeBindings(long struct)
maxComputeBindings().public static int nmaxVertexLayouts(long struct)
maxVertexLayouts().public static int nmaxVertexStreams(long struct)
maxVertexStreams().public static int nmaxIndexBuffers(long struct)
maxIndexBuffers().public static int nmaxVertexBuffers(long struct)
maxVertexBuffers().public static int nmaxDynamicIndexBuffers(long struct)
maxDynamicIndexBuffers().public static int nmaxDynamicVertexBuffers(long struct)
maxDynamicVertexBuffers().public static int nmaxUniforms(long struct)
maxUniforms().public static int nmaxOcclusionQueries(long struct)
maxOcclusionQueries().public static int nmaxEncoders(long struct)
maxEncoders().public static int ntransientVbSize(long struct)
transientVbSize().public static int ntransientIbSize(long struct)
transientIbSize().Copyright LWJGL. All Rights Reserved. License terms.