Package org.lwjgl.bgfx
Class BGFXCapsLimits
- All Implemented Interfaces:
Pointer
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;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBGFXCapsLimits
(ByteBuffer container) Creates aBGFXCapsLimits
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 @Nullable BGFXCapsLimits
createSafe
(long address) static @Nullable BGFXCapsLimits.Buffer
createSafe
(long address, int capacity) int
maxBlits()
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
maxViews()
int
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
nminResourceCbSize
(long struct) Unsafe version ofminResourceCbSize()
.static int
ntransientIbSize
(long struct) Unsafe version oftransientIbSize()
.static int
ntransientVbSize
(long struct) Unsafe version oftransientVbSize()
.int
sizeof()
Returnssizeof(struct)
.int
int
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
MAXDRAWCALLS
public static final int MAXDRAWCALLSThe struct member offsets. -
MAXBLITS
public static final int MAXBLITSThe struct member offsets. -
MAXTEXTURESIZE
public static final int MAXTEXTURESIZEThe struct member offsets. -
MAXTEXTURELAYERS
public static final int MAXTEXTURELAYERSThe struct member offsets. -
MAXVIEWS
public static final int MAXVIEWSThe struct member offsets. -
MAXFRAMEBUFFERS
public static final int MAXFRAMEBUFFERSThe struct member offsets. -
MAXFBATTACHMENTS
public static final int MAXFBATTACHMENTSThe struct member offsets. -
MAXPROGRAMS
public static final int MAXPROGRAMSThe struct member offsets. -
MAXSHADERS
public static final int MAXSHADERSThe struct member offsets. -
MAXTEXTURES
public static final int MAXTEXTURESThe struct member offsets. -
MAXTEXTURESAMPLERS
public static final int MAXTEXTURESAMPLERSThe struct member offsets. -
MAXCOMPUTEBINDINGS
public static final int MAXCOMPUTEBINDINGSThe struct member offsets. -
MAXVERTEXLAYOUTS
public static final int MAXVERTEXLAYOUTSThe struct member offsets. -
MAXVERTEXSTREAMS
public static final int MAXVERTEXSTREAMSThe struct member offsets. -
MAXINDEXBUFFERS
public static final int MAXINDEXBUFFERSThe struct member offsets. -
MAXVERTEXBUFFERS
public static final int MAXVERTEXBUFFERSThe struct member offsets. -
MAXDYNAMICINDEXBUFFERS
public static final int MAXDYNAMICINDEXBUFFERSThe struct member offsets. -
MAXDYNAMICVERTEXBUFFERS
public static final int MAXDYNAMICVERTEXBUFFERSThe struct member offsets. -
MAXUNIFORMS
public static final int MAXUNIFORMSThe struct member offsets. -
MAXOCCLUSIONQUERIES
public static final int MAXOCCLUSIONQUERIESThe struct member offsets. -
MAXENCODERS
public static final int MAXENCODERSThe struct member offsets. -
MINRESOURCECBSIZE
public static final int MINRESOURCECBSIZEThe struct member offsets. -
TRANSIENTVBSIZE
public static final int TRANSIENTVBSIZEThe struct member offsets. -
TRANSIENTIBSIZE
public static final int TRANSIENTIBSIZEThe struct member offsets.
-
-
Constructor Details
-
BGFXCapsLimits
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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<BGFXCapsLimits>
-
maxDrawCalls
public int maxDrawCalls()- Returns:
- the value of the
maxDrawCalls
field.
-
maxBlits
public int maxBlits()- Returns:
- the value of the
maxBlits
field.
-
maxTextureSize
public int maxTextureSize()- Returns:
- the value of the
maxTextureSize
field.
-
maxTextureLayers
public int maxTextureLayers()- Returns:
- the value of the
maxTextureLayers
field.
-
maxViews
public int maxViews()- Returns:
- the value of the
maxViews
field.
-
maxFrameBuffers
public int maxFrameBuffers()- Returns:
- the value of the
maxFrameBuffers
field.
-
maxFBAttachments
public int maxFBAttachments()- Returns:
- the value of the
maxFBAttachments
field.
-
maxPrograms
public int maxPrograms()- Returns:
- the value of the
maxPrograms
field.
-
maxShaders
public int maxShaders()- Returns:
- the value of the
maxShaders
field.
-
maxTextures
public int maxTextures()- Returns:
- the value of the
maxTextures
field.
-
maxTextureSamplers
public int maxTextureSamplers()- Returns:
- the value of the
maxTextureSamplers
field.
-
maxComputeBindings
public int maxComputeBindings()- Returns:
- the value of the
maxComputeBindings
field.
-
maxVertexLayouts
public int maxVertexLayouts()- Returns:
- the value of the
maxVertexLayouts
field.
-
maxVertexStreams
public int maxVertexStreams()- Returns:
- the value of the
maxVertexStreams
field.
-
maxIndexBuffers
public int maxIndexBuffers()- Returns:
- the value of the
maxIndexBuffers
field.
-
maxVertexBuffers
public int maxVertexBuffers()- Returns:
- the value of the
maxVertexBuffers
field.
-
maxDynamicIndexBuffers
public int maxDynamicIndexBuffers()- Returns:
- the value of the
maxDynamicIndexBuffers
field.
-
maxDynamicVertexBuffers
public int maxDynamicVertexBuffers()- Returns:
- the value of the
maxDynamicVertexBuffers
field.
-
maxUniforms
public int maxUniforms()- Returns:
- the value of the
maxUniforms
field.
-
maxOcclusionQueries
public int maxOcclusionQueries()- Returns:
- the value of the
maxOcclusionQueries
field.
-
maxEncoders
public int maxEncoders()- Returns:
- the value of the
maxEncoders
field.
-
minResourceCbSize
public int minResourceCbSize()- Returns:
- the value of the
minResourceCbSize
field.
-
transientVbSize
public int transientVbSize()- Returns:
- the value of the
transientVbSize
field.
-
transientIbSize
public int transientIbSize()- Returns:
- the value of the
transientIbSize
field.
-
create
Returns a newBGFXCapsLimits
instance for the specified memory address. -
createSafe
-
create
Create aBGFXCapsLimits.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
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()
. -
nminResourceCbSize
public static int nminResourceCbSize(long struct) Unsafe version ofminResourceCbSize()
. -
ntransientVbSize
public static int ntransientVbSize(long struct) Unsafe version oftransientVbSize()
. -
ntransientIbSize
public static int ntransientIbSize(long struct) Unsafe version oftransientIbSize()
.
-