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 minResourceCbSize;
uint32_t transientVbSize;
uint32_t transientIbSize;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | BGFXCapsLimits.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MAXBLITS
The struct member offsets. |
| public static final int | MAXCOMPUTEBINDINGS
The struct member offsets. |
| public static final int | MAXDRAWCALLS
The struct member offsets. |
| public static final int | MAXDYNAMICINDEXBUFFERS
The struct member offsets. |
| public static final int | MAXDYNAMICVERTEXBUFFERS
The struct member offsets. |
| public static final int | MAXENCODERS
The struct member offsets. |
| public static final int | MAXFBATTACHMENTS
The struct member offsets. |
| public static final int | MAXFRAMEBUFFERS
The struct member offsets. |
| public static final int | MAXINDEXBUFFERS
The struct member offsets. |
| public static final int | MAXOCCLUSIONQUERIES
The struct member offsets. |
| public static final int | MAXPROGRAMS
The struct member offsets. |
| public static final int | MAXSHADERS
The struct member offsets. |
| public static final int | MAXTEXTURELAYERS
The struct member offsets. |
| public static final int | MAXTEXTURES
The struct member offsets. |
| public static final int | MAXTEXTURESAMPLERS
The struct member offsets. |
| public static final int | MAXTEXTURESIZE
The struct member offsets. |
| public static final int | MAXUNIFORMS
The struct member offsets. |
| public static final int | MAXVERTEXBUFFERS
The struct member offsets. |
| public static final int | MAXVERTEXLAYOUTS
The struct member offsets. |
| public static final int | MAXVERTEXSTREAMS
The struct member offsets. |
| public static final int | MAXVIEWS
The struct member offsets. |
| public static final int | MINRESOURCECBSIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TRANSIENTIBSIZE
The struct member offsets. |
| public static final int | TRANSIENTVBSIZE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | BGFXCapsLimits(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected BGFXCapsLimits | 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 BGFXCapsLimits | |
| public static BGFXCapsLimits. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static BGFXCapsLimits | |
| public static BGFXCapsLimits. | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MAXBLITS | back to summary |
|---|---|
| public static final int MAXBLITS The struct member offsets. | |
| MAXCOMPUTEBINDINGS | back to summary |
|---|---|
| public static final int MAXCOMPUTEBINDINGS The struct member offsets. | |
| MAXDRAWCALLS | back to summary |
|---|---|
| public static final int MAXDRAWCALLS The struct member offsets. | |
| MAXDYNAMICINDEXBUFFERS | back to summary |
|---|---|
| public static final int MAXDYNAMICINDEXBUFFERS The struct member offsets. | |
| MAXDYNAMICVERTEXBUFFERS | back to summary |
|---|---|
| public static final int MAXDYNAMICVERTEXBUFFERS The struct member offsets. | |
| MAXENCODERS | back to summary |
|---|---|
| public static final int MAXENCODERS The struct member offsets. | |
| MAXFBATTACHMENTS | back to summary |
|---|---|
| public static final int MAXFBATTACHMENTS The struct member offsets. | |
| MAXFRAMEBUFFERS | back to summary |
|---|---|
| public static final int MAXFRAMEBUFFERS The struct member offsets. | |
| MAXINDEXBUFFERS | back to summary |
|---|---|
| public static final int MAXINDEXBUFFERS The struct member offsets. | |
| MAXOCCLUSIONQUERIES | back to summary |
|---|---|
| public static final int MAXOCCLUSIONQUERIES The struct member offsets. | |
| MAXPROGRAMS | back to summary |
|---|---|
| public static final int MAXPROGRAMS The struct member offsets. | |
| MAXSHADERS | back to summary |
|---|---|
| public static final int MAXSHADERS The struct member offsets. | |
| MAXTEXTURELAYERS | back to summary |
|---|---|
| public static final int MAXTEXTURELAYERS The struct member offsets. | |
| MAXTEXTURES | back to summary |
|---|---|
| public static final int MAXTEXTURES The struct member offsets. | |
| MAXTEXTURESAMPLERS | back to summary |
|---|---|
| public static final int MAXTEXTURESAMPLERS The struct member offsets. | |
| MAXTEXTURESIZE | back to summary |
|---|---|
| public static final int MAXTEXTURESIZE The struct member offsets. | |
| MAXUNIFORMS | back to summary |
|---|---|
| public static final int MAXUNIFORMS The struct member offsets. | |
| MAXVERTEXBUFFERS | back to summary |
|---|---|
| public static final int MAXVERTEXBUFFERS The struct member offsets. | |
| MAXVERTEXLAYOUTS | back to summary |
|---|---|
| public static final int MAXVERTEXLAYOUTS The struct member offsets. | |
| MAXVERTEXSTREAMS | back to summary |
|---|---|
| public static final int MAXVERTEXSTREAMS The struct member offsets. | |
| MAXVIEWS | back to summary |
|---|---|
| public static final int MAXVIEWS The struct member offsets. | |
| MINRESOURCECBSIZE | back to summary |
|---|---|
| public static final int MINRESOURCECBSIZE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TRANSIENTIBSIZE | back to summary |
|---|---|
| public static final int TRANSIENTIBSIZE The struct member offsets. | |
| TRANSIENTVBSIZE | back to summary |
|---|---|
| public static final int TRANSIENTVBSIZE The struct member offsets. | |
| BGFXCapsLimits | back to summary |
|---|---|
| protected BGFXCapsLimits(long address, ByteBuffer container) | |
| BGFXCapsLimits | back to summary |
|---|---|
| public BGFXCapsLimits(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected BGFXCapsLimits create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static BGFXCapsLimits create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static BGFXCapsLimits. Create a
| |
| createSafe | back to summary |
|---|---|
| public static BGFXCapsLimits createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static BGFXCapsLimits. Like
| |
| maxBlits | back to summary |
|---|---|
| public int maxBlits() maximum number of blit calls
| |
| maxComputeBindings | back to summary |
|---|---|
| public int maxComputeBindings() maximum number of compute bindings
| |
| maxDrawCalls | back to summary |
|---|---|
| public int maxDrawCalls() maximum number of draw calls
| |
| maxDynamicIndexBuffers | back to summary |
|---|---|
| public int maxDynamicIndexBuffers() maximum number of dynamic index buffer handles
| |
| maxDynamicVertexBuffers | back to summary |
|---|---|
| public int maxDynamicVertexBuffers() maximum number of vertex buffer handles
| |
| maxEncoders | back to summary |
|---|---|
| public int maxEncoders() maximum number of encoder threads
| |
| maxFBAttachments | back to summary |
|---|---|
| public int maxFBAttachments() maximum number of frame buffer attachments
| |
| maxFrameBuffers | back to summary |
|---|---|
| public int maxFrameBuffers() maximum number of frame buffer handles
| |
| maxIndexBuffers | back to summary |
|---|---|
| public int maxIndexBuffers() maximum number of index buffer handles
| |
| maxOcclusionQueries | back to summary |
|---|---|
| public int maxOcclusionQueries() maximum number of occlusion query handles
| |
| maxPrograms | back to summary |
|---|---|
| public int maxPrograms() maximum number of program handles
| |
| maxShaders | back to summary |
|---|---|
| public int maxShaders() maximum number of shader handles
| |
| maxTextureLayers | back to summary |
|---|---|
| public int maxTextureLayers() maximum texture layers
| |
| maxTextures | back to summary |
|---|---|
| public int maxTextures() maximum number of texture handles
| |
| maxTextureSamplers | back to summary |
|---|---|
| public int maxTextureSamplers() maximum number of texture samplers
| |
| maxTextureSize | back to summary |
|---|---|
| public int maxTextureSize() maximum texture size
| |
| maxUniforms | back to summary |
|---|---|
| public int maxUniforms() maximum number of uniform handles
| |
| maxVertexBuffers | back to summary |
|---|---|
| public int maxVertexBuffers() maximum number of vertex buffer handles
| |
| maxVertexLayouts | back to summary |
|---|---|
| public int maxVertexLayouts() maximum number of vertex format layouts
| |
| maxVertexStreams | back to summary |
|---|---|
| public int maxVertexStreams() maximum number of vertex streams
| |
| maxViews | back to summary |
|---|---|
| public int maxViews() maximum number of views
| |
| minResourceCbSize | back to summary |
|---|---|
| public int minResourceCbSize() minimum resource command buffer size
| |
| nmaxBlits | back to summary |
|---|---|
| public static int nmaxBlits(long struct) Unsafe version of | |
| nmaxComputeBindings | back to summary |
|---|---|
| public static int nmaxComputeBindings(long struct) Unsafe version of | |
| nmaxDrawCalls | back to summary |
|---|---|
| public static int nmaxDrawCalls(long struct) Unsafe version of | |
| nmaxDynamicIndexBuffers | back to summary |
|---|---|
| public static int nmaxDynamicIndexBuffers(long struct) Unsafe version of | |
| nmaxDynamicVertexBuffers | back to summary |
|---|---|
| public static int nmaxDynamicVertexBuffers(long struct) Unsafe version of | |
| nmaxEncoders | back to summary |
|---|---|
| public static int nmaxEncoders(long struct) Unsafe version of | |
| nmaxFBAttachments | back to summary |
|---|---|
| public static int nmaxFBAttachments(long struct) Unsafe version of | |
| nmaxFrameBuffers | back to summary |
|---|---|
| public static int nmaxFrameBuffers(long struct) Unsafe version of | |
| nmaxIndexBuffers | back to summary |
|---|---|
| public static int nmaxIndexBuffers(long struct) Unsafe version of | |
| nmaxOcclusionQueries | back to summary |
|---|---|
| public static int nmaxOcclusionQueries(long struct) Unsafe version of | |
| nmaxPrograms | back to summary |
|---|---|
| public static int nmaxPrograms(long struct) Unsafe version of | |
| nmaxShaders | back to summary |
|---|---|
| public static int nmaxShaders(long struct) Unsafe version of | |
| nmaxTextureLayers | back to summary |
|---|---|
| public static int nmaxTextureLayers(long struct) Unsafe version of | |
| nmaxTextures | back to summary |
|---|---|
| public static int nmaxTextures(long struct) Unsafe version of | |
| nmaxTextureSamplers | back to summary |
|---|---|
| public static int nmaxTextureSamplers(long struct) Unsafe version of | |
| nmaxTextureSize | back to summary |
|---|---|
| public static int nmaxTextureSize(long struct) Unsafe version of | |
| nmaxUniforms | back to summary |
|---|---|
| public static int nmaxUniforms(long struct) Unsafe version of | |
| nmaxVertexBuffers | back to summary |
|---|---|
| public static int nmaxVertexBuffers(long struct) Unsafe version of | |
| nmaxVertexLayouts | back to summary |
|---|---|
| public static int nmaxVertexLayouts(long struct) Unsafe version of | |
| nmaxVertexStreams | back to summary |
|---|---|
| public static int nmaxVertexStreams(long struct) Unsafe version of | |
| nmaxViews | back to summary |
|---|---|
| public static int nmaxViews(long struct) Unsafe version of | |
| nminResourceCbSize | back to summary |
|---|---|
| public static int nminResourceCbSize(long struct) Unsafe version of | |
| ntransientIbSize | back to summary |
|---|---|
| public static int ntransientIbSize(long struct) Unsafe version of | |
| ntransientVbSize | back to summary |
|---|---|
| public static int ntransientVbSize(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| transientIbSize | back to summary |
|---|---|
| public int transientIbSize() maximum transient index buffer size
| |
| transientVbSize | back to summary |
|---|---|
| public int transientVbSize() maximum transient vertex buffer size
| |
BGFXCapsLimits structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final BGFXCapsLimits |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected BGFXCapsLimits | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| protected BGFXCapsLimits. | |
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final BGFXCapsLimits ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected BGFXCapsLimits getElementFactory() Implements abstract org.
| |
| maxBlits | back to summary |
|---|---|
public int maxBlits()
| |
| maxComputeBindings | back to summary |
|---|---|
public int maxComputeBindings()
| |
| maxDrawCalls | back to summary |
|---|---|
public int maxDrawCalls()
| |
| maxDynamicIndexBuffers | back to summary |
|---|---|
public int maxDynamicIndexBuffers()
| |
| maxDynamicVertexBuffers | back to summary |
|---|---|
public int maxDynamicVertexBuffers()
| |
| maxEncoders | back to summary |
|---|---|
public int maxEncoders()
| |
| maxFBAttachments | back to summary |
|---|---|
public int maxFBAttachments()
| |
| maxFrameBuffers | back to summary |
|---|---|
public int maxFrameBuffers()
| |
| maxIndexBuffers | back to summary |
|---|---|
public int maxIndexBuffers()
| |
| maxOcclusionQueries | back to summary |
|---|---|
public int maxOcclusionQueries()
| |
| maxPrograms | back to summary |
|---|---|
public int maxPrograms()
| |
| maxShaders | back to summary |
|---|---|
public int maxShaders()
| |
| maxTextureLayers | back to summary |
|---|---|
public int maxTextureLayers()
| |
| maxTextures | back to summary |
|---|---|
public int maxTextures()
| |
| maxTextureSamplers | back to summary |
|---|---|
public int maxTextureSamplers()
| |
| maxTextureSize | back to summary |
|---|---|
public int maxTextureSize()
| |
| maxUniforms | back to summary |
|---|---|
public int maxUniforms()
| |
| maxVertexBuffers | back to summary |
|---|---|
public int maxVertexBuffers()
| |
| maxVertexLayouts | back to summary |
|---|---|
public int maxVertexLayouts()
| |
| maxVertexStreams | back to summary |
|---|---|
public int maxVertexStreams()
| |
| maxViews | back to summary |
|---|---|
public int maxViews()
| |
| minResourceCbSize | back to summary |
|---|---|
public int minResourceCbSize()
| |
| self | back to summary |
|---|---|
| protected BGFXCapsLimits. Implements abstract org.
| |
| transientIbSize | back to summary |
|---|---|
public int transientIbSize()
| |
| transientVbSize | back to summary |
|---|---|
public int transientVbSize()
| |