Package org.lwjgl.bgfx
Class BGFXCapsLimits
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.bgfx.BGFXCapsLimits
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class BGFXCapsLimits extends org.lwjgl.system.Struct
Rendering limits.Member documentation
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
Layout
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; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BGFXCapsLimits.Buffer
An array ofBGFXCapsLimits
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
MAXBLITS
MAXCOMPUTEBINDINGS
MAXDRAWCALLS
MAXDYNAMICINDEXBUFFERS
MAXDYNAMICVERTEXBUFFERS
MAXENCODERS
MAXFBATTACHMENTS
MAXFRAMEBUFFERS
MAXINDEXBUFFERS
MAXOCCLUSIONQUERIES
MAXPROGRAMS
MAXSHADERS
MAXTEXTURELAYERS
MAXTEXTURES
MAXTEXTURESAMPLERS
MAXTEXTURESIZE
MAXUNIFORMS
MAXVERTEXBUFFERS
MAXVERTEXLAYOUTS
MAXVERTEXSTREAMS
MAXVIEWSThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
TRANSIENTIBSIZE
TRANSIENTVBSIZEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description BGFXCapsLimits(java.nio.ByteBuffer container)
Creates aBGFXCapsLimits
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BGFXCapsLimits
create(long address)
Returns a newBGFXCapsLimits
instance for the specified memory address.static BGFXCapsLimits.Buffer
create(long address, int capacity)
Create aBGFXCapsLimits.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 themaxBlits
field.int
maxComputeBindings()
Returns the value of themaxComputeBindings
field.int
maxDrawCalls()
Returns the value of themaxDrawCalls
field.int
maxDynamicIndexBuffers()
Returns the value of themaxDynamicIndexBuffers
field.int
maxDynamicVertexBuffers()
Returns the value of themaxDynamicVertexBuffers
field.int
maxEncoders()
Returns the value of themaxEncoders
field.int
maxFBAttachments()
Returns the value of themaxFBAttachments
field.int
maxFrameBuffers()
Returns the value of themaxFrameBuffers
field.int
maxIndexBuffers()
Returns the value of themaxIndexBuffers
field.int
maxOcclusionQueries()
Returns the value of themaxOcclusionQueries
field.int
maxPrograms()
Returns the value of themaxPrograms
field.int
maxShaders()
Returns the value of themaxShaders
field.int
maxTextureLayers()
Returns the value of themaxTextureLayers
field.int
maxTextures()
Returns the value of themaxTextures
field.int
maxTextureSamplers()
Returns the value of themaxTextureSamplers
field.int
maxTextureSize()
Returns the value of themaxTextureSize
field.int
maxUniforms()
Returns the value of themaxUniforms
field.int
maxVertexBuffers()
Returns the value of themaxVertexBuffers
field.int
maxVertexLayouts()
Returns the value of themaxVertexLayouts
field.int
maxVertexStreams()
Returns the value of themaxVertexStreams
field.int
maxViews()
Returns the value of themaxViews
field.static int
nmaxBlits(long struct)
Unsafe version ofmaxBlits()
.static int
nmaxComputeBindings(long struct)
Unsafe version ofmaxComputeBindings()
.static int
nmaxDrawCalls(long struct)
Unsafe version ofmaxDrawCalls()
.static int
nmaxDynamicIndexBuffers(long struct)
Unsafe version ofmaxDynamicIndexBuffers()
.static int
nmaxDynamicVertexBuffers(long struct)
Unsafe version ofmaxDynamicVertexBuffers()
.static int
nmaxEncoders(long struct)
Unsafe version ofmaxEncoders()
.static int
nmaxFBAttachments(long struct)
Unsafe version ofmaxFBAttachments()
.static int
nmaxFrameBuffers(long struct)
Unsafe version ofmaxFrameBuffers()
.static int
nmaxIndexBuffers(long struct)
Unsafe version ofmaxIndexBuffers()
.static int
nmaxOcclusionQueries(long struct)
Unsafe version ofmaxOcclusionQueries()
.static int
nmaxPrograms(long struct)
Unsafe version ofmaxPrograms()
.static int
nmaxShaders(long struct)
Unsafe version ofmaxShaders()
.static int
nmaxTextureLayers(long struct)
Unsafe version ofmaxTextureLayers()
.static int
nmaxTextures(long struct)
Unsafe version ofmaxTextures()
.static int
nmaxTextureSamplers(long struct)
Unsafe version ofmaxTextureSamplers()
.static int
nmaxTextureSize(long struct)
Unsafe version ofmaxTextureSize()
.static int
nmaxUniforms(long struct)
Unsafe version ofmaxUniforms()
.static int
nmaxVertexBuffers(long struct)
Unsafe version ofmaxVertexBuffers()
.static int
nmaxVertexLayouts(long struct)
Unsafe version ofmaxVertexLayouts()
.static int
nmaxVertexStreams(long struct)
Unsafe version ofmaxVertexStreams()
.static int
nmaxViews(long struct)
Unsafe version ofmaxViews()
.static int
ntransientIbSize(long struct)
Unsafe version oftransientIbSize()
.static int
ntransientVbSize(long struct)
Unsafe version oftransientVbSize()
.int
sizeof()
int
transientIbSize()
Returns the value of thetransientIbSize
field.int
transientVbSize()
Returns the value of thetransientVbSize
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
MAXDRAWCALLS, MAXBLITS, MAXTEXTURESIZE, MAXTEXTURELAYERS, MAXVIEWS, MAXFRAMEBUFFERS, MAXFBATTACHMENTS, MAXPROGRAMS, MAXSHADERS, MAXTEXTURES, MAXTEXTURESAMPLERS, MAXCOMPUTEBINDINGS, MAXVERTEXLAYOUTS, MAXVERTEXSTREAMS, MAXINDEXBUFFERS, MAXVERTEXBUFFERS, MAXDYNAMICINDEXBUFFERS, MAXDYNAMICVERTEXBUFFERS, MAXUNIFORMS, MAXOCCLUSIONQUERIES, MAXENCODERS, TRANSIENTVBSIZE, TRANSIENTIBSIZE
The struct member offsets.
-
-
Constructor Detail
-
BGFXCapsLimits
public BGFXCapsLimits(java.nio.ByteBuffer container)
Creates aBGFXCapsLimits
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
maxDrawCalls
public int maxDrawCalls()
Returns the value of themaxDrawCalls
field.
-
maxBlits
public int maxBlits()
Returns the value of themaxBlits
field.
-
maxTextureSize
public int maxTextureSize()
Returns the value of themaxTextureSize
field.
-
maxTextureLayers
public int maxTextureLayers()
Returns the value of themaxTextureLayers
field.
-
maxViews
public int maxViews()
Returns the value of themaxViews
field.
-
maxFrameBuffers
public int maxFrameBuffers()
Returns the value of themaxFrameBuffers
field.
-
maxFBAttachments
public int maxFBAttachments()
Returns the value of themaxFBAttachments
field.
-
maxPrograms
public int maxPrograms()
Returns the value of themaxPrograms
field.
-
maxShaders
public int maxShaders()
Returns the value of themaxShaders
field.
-
maxTextures
public int maxTextures()
Returns the value of themaxTextures
field.
-
maxTextureSamplers
public int maxTextureSamplers()
Returns the value of themaxTextureSamplers
field.
-
maxComputeBindings
public int maxComputeBindings()
Returns the value of themaxComputeBindings
field.
-
maxVertexLayouts
public int maxVertexLayouts()
Returns the value of themaxVertexLayouts
field.
-
maxVertexStreams
public int maxVertexStreams()
Returns the value of themaxVertexStreams
field.
-
maxIndexBuffers
public int maxIndexBuffers()
Returns the value of themaxIndexBuffers
field.
-
maxVertexBuffers
public int maxVertexBuffers()
Returns the value of themaxVertexBuffers
field.
-
maxDynamicIndexBuffers
public int maxDynamicIndexBuffers()
Returns the value of themaxDynamicIndexBuffers
field.
-
maxDynamicVertexBuffers
public int maxDynamicVertexBuffers()
Returns the value of themaxDynamicVertexBuffers
field.
-
maxUniforms
public int maxUniforms()
Returns the value of themaxUniforms
field.
-
maxOcclusionQueries
public int maxOcclusionQueries()
Returns the value of themaxOcclusionQueries
field.
-
maxEncoders
public int maxEncoders()
Returns the value of themaxEncoders
field.
-
transientVbSize
public int transientVbSize()
Returns the value of thetransientVbSize
field.
-
transientIbSize
public int transientIbSize()
Returns the value of thetransientIbSize
field.
-
create
public static BGFXCapsLimits create(long address)
Returns a newBGFXCapsLimits
instance for the specified memory address.
-
createSafe
@Nullable public static BGFXCapsLimits createSafe(long address)
-
create
public static BGFXCapsLimits.Buffer create(long address, int capacity)
Create aBGFXCapsLimits.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static BGFXCapsLimits.Buffer createSafe(long address, int capacity)
-
nmaxDrawCalls
public static int nmaxDrawCalls(long struct)
Unsafe version ofmaxDrawCalls()
.
-
nmaxBlits
public static int nmaxBlits(long struct)
Unsafe version ofmaxBlits()
.
-
nmaxTextureSize
public static int nmaxTextureSize(long struct)
Unsafe version ofmaxTextureSize()
.
-
nmaxTextureLayers
public static int nmaxTextureLayers(long struct)
Unsafe version ofmaxTextureLayers()
.
-
nmaxViews
public static int nmaxViews(long struct)
Unsafe version ofmaxViews()
.
-
nmaxFrameBuffers
public static int nmaxFrameBuffers(long struct)
Unsafe version ofmaxFrameBuffers()
.
-
nmaxFBAttachments
public static int nmaxFBAttachments(long struct)
Unsafe version ofmaxFBAttachments()
.
-
nmaxPrograms
public static int nmaxPrograms(long struct)
Unsafe version ofmaxPrograms()
.
-
nmaxShaders
public static int nmaxShaders(long struct)
Unsafe version ofmaxShaders()
.
-
nmaxTextures
public static int nmaxTextures(long struct)
Unsafe version ofmaxTextures()
.
-
nmaxTextureSamplers
public static int nmaxTextureSamplers(long struct)
Unsafe version ofmaxTextureSamplers()
.
-
nmaxComputeBindings
public static int nmaxComputeBindings(long struct)
Unsafe version ofmaxComputeBindings()
.
-
nmaxVertexLayouts
public static int nmaxVertexLayouts(long struct)
Unsafe version ofmaxVertexLayouts()
.
-
nmaxVertexStreams
public static int nmaxVertexStreams(long struct)
Unsafe version ofmaxVertexStreams()
.
-
nmaxIndexBuffers
public static int nmaxIndexBuffers(long struct)
Unsafe version ofmaxIndexBuffers()
.
-
nmaxVertexBuffers
public static int nmaxVertexBuffers(long struct)
Unsafe version ofmaxVertexBuffers()
.
-
nmaxDynamicIndexBuffers
public static int nmaxDynamicIndexBuffers(long struct)
Unsafe version ofmaxDynamicIndexBuffers()
.
-
nmaxDynamicVertexBuffers
public static int nmaxDynamicVertexBuffers(long struct)
Unsafe version ofmaxDynamicVertexBuffers()
.
-
nmaxUniforms
public static int nmaxUniforms(long struct)
Unsafe version ofmaxUniforms()
.
-
nmaxOcclusionQueries
public static int nmaxOcclusionQueries(long struct)
Unsafe version ofmaxOcclusionQueries()
.
-
nmaxEncoders
public static int nmaxEncoders(long struct)
Unsafe version ofmaxEncoders()
.
-
ntransientVbSize
public static int ntransientVbSize(long struct)
Unsafe version oftransientVbSize()
.
-
ntransientIbSize
public static int ntransientIbSize(long struct)
Unsafe version oftransientIbSize()
.
-
-