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 maxTransientVbSize;
uint32_t maxTansientIbSize;
uint32_t minUniformBufferSize;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBGFXCapsLimits(ByteBuffer container) Creates aBGFXCapsLimitsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic BGFXCapsLimitscreate(long address) Returns a newBGFXCapsLimitsinstance for the specified memory address.static BGFXCapsLimits.Buffercreate(long address, int capacity) Create aBGFXCapsLimits.Bufferinstance at the specified memory.static @Nullable BGFXCapsLimitscreateSafe(long address) static @Nullable BGFXCapsLimits.BuffercreateSafe(long address, int capacity) intmaxBlits()intintintintintintintintintintintintintintintintintintintintintintmaxViews()intintstatic intnmaxBlits(long struct) Unsafe version ofmaxBlits().static intnmaxComputeBindings(long struct) Unsafe version ofmaxComputeBindings().static intnmaxDrawCalls(long struct) Unsafe version ofmaxDrawCalls().static intnmaxDynamicIndexBuffers(long struct) Unsafe version ofmaxDynamicIndexBuffers().static intnmaxDynamicVertexBuffers(long struct) Unsafe version ofmaxDynamicVertexBuffers().static intnmaxEncoders(long struct) Unsafe version ofmaxEncoders().static intnmaxFBAttachments(long struct) Unsafe version ofmaxFBAttachments().static intnmaxFrameBuffers(long struct) Unsafe version ofmaxFrameBuffers().static intnmaxIndexBuffers(long struct) Unsafe version ofmaxIndexBuffers().static intnmaxOcclusionQueries(long struct) Unsafe version ofmaxOcclusionQueries().static intnmaxPrograms(long struct) Unsafe version ofmaxPrograms().static intnmaxShaders(long struct) Unsafe version ofmaxShaders().static intnmaxTansientIbSize(long struct) Unsafe version ofmaxTansientIbSize().static intnmaxTextureLayers(long struct) Unsafe version ofmaxTextureLayers().static intnmaxTextures(long struct) Unsafe version ofmaxTextures().static intnmaxTextureSamplers(long struct) Unsafe version ofmaxTextureSamplers().static intnmaxTextureSize(long struct) Unsafe version ofmaxTextureSize().static intnmaxTransientVbSize(long struct) Unsafe version ofmaxTransientVbSize().static intnmaxUniforms(long struct) Unsafe version ofmaxUniforms().static intnmaxVertexBuffers(long struct) Unsafe version ofmaxVertexBuffers().static intnmaxVertexLayouts(long struct) Unsafe version ofmaxVertexLayouts().static intnmaxVertexStreams(long struct) Unsafe version ofmaxVertexStreams().static intnmaxViews(long struct) Unsafe version ofmaxViews().static intnminResourceCbSize(long struct) Unsafe version ofminResourceCbSize().static intnminUniformBufferSize(long struct) Unsafe version ofminUniformBufferSize().intsizeof()Returnssizeof(struct).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. -
MAXTRANSIENTVBSIZE
public static final int MAXTRANSIENTVBSIZEThe struct member offsets. -
MAXTANSIENTIBSIZE
public static final int MAXTANSIENTIBSIZEThe struct member offsets. -
MINUNIFORMBUFFERSIZE
public static final int MINUNIFORMBUFFERSIZEThe struct member offsets.
-
-
Constructor Details
-
BGFXCapsLimits
Creates aBGFXCapsLimitsinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<BGFXCapsLimits>
-
maxDrawCalls
public int maxDrawCalls()- Returns:
- the value of the
maxDrawCallsfield.
-
maxBlits
public int maxBlits()- Returns:
- the value of the
maxBlitsfield.
-
maxTextureSize
public int maxTextureSize()- Returns:
- the value of the
maxTextureSizefield.
-
maxTextureLayers
public int maxTextureLayers()- Returns:
- the value of the
maxTextureLayersfield.
-
maxViews
public int maxViews()- Returns:
- the value of the
maxViewsfield.
-
maxFrameBuffers
public int maxFrameBuffers()- Returns:
- the value of the
maxFrameBuffersfield.
-
maxFBAttachments
public int maxFBAttachments()- Returns:
- the value of the
maxFBAttachmentsfield.
-
maxPrograms
public int maxPrograms()- Returns:
- the value of the
maxProgramsfield.
-
maxShaders
public int maxShaders()- Returns:
- the value of the
maxShadersfield.
-
maxTextures
public int maxTextures()- Returns:
- the value of the
maxTexturesfield.
-
maxTextureSamplers
public int maxTextureSamplers()- Returns:
- the value of the
maxTextureSamplersfield.
-
maxComputeBindings
public int maxComputeBindings()- Returns:
- the value of the
maxComputeBindingsfield.
-
maxVertexLayouts
public int maxVertexLayouts()- Returns:
- the value of the
maxVertexLayoutsfield.
-
maxVertexStreams
public int maxVertexStreams()- Returns:
- the value of the
maxVertexStreamsfield.
-
maxIndexBuffers
public int maxIndexBuffers()- Returns:
- the value of the
maxIndexBuffersfield.
-
maxVertexBuffers
public int maxVertexBuffers()- Returns:
- the value of the
maxVertexBuffersfield.
-
maxDynamicIndexBuffers
public int maxDynamicIndexBuffers()- Returns:
- the value of the
maxDynamicIndexBuffersfield.
-
maxDynamicVertexBuffers
public int maxDynamicVertexBuffers()- Returns:
- the value of the
maxDynamicVertexBuffersfield.
-
maxUniforms
public int maxUniforms()- Returns:
- the value of the
maxUniformsfield.
-
maxOcclusionQueries
public int maxOcclusionQueries()- Returns:
- the value of the
maxOcclusionQueriesfield.
-
maxEncoders
public int maxEncoders()- Returns:
- the value of the
maxEncodersfield.
-
minResourceCbSize
public int minResourceCbSize()- Returns:
- the value of the
minResourceCbSizefield.
-
maxTransientVbSize
public int maxTransientVbSize()- Returns:
- the value of the
maxTransientVbSizefield.
-
maxTansientIbSize
public int maxTansientIbSize()- Returns:
- the value of the
maxTansientIbSizefield.
-
minUniformBufferSize
public int minUniformBufferSize()- Returns:
- the value of the
minUniformBufferSizefield.
-
create
Returns a newBGFXCapsLimitsinstance for the specified memory address. -
createSafe
-
create
Create aBGFXCapsLimits.Bufferinstance 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(). -
nmaxTransientVbSize
public static int nmaxTransientVbSize(long struct) Unsafe version ofmaxTransientVbSize(). -
nmaxTansientIbSize
public static int nmaxTansientIbSize(long struct) Unsafe version ofmaxTansientIbSize(). -
nminUniformBufferSize
public static int nminUniformBufferSize(long struct) Unsafe version ofminUniformBufferSize().
-