Class BGFXCapsLimits

    • 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, MINRESOURCECBSIZE, TRANSIENTVBSIZE, TRANSIENTIBSIZE

        The struct member offsets.
    • Constructor Detail

      • BGFXCapsLimits

        public BGFXCapsLimits​(java.nio.ByteBuffer container)
        Creates a 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.

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • maxDrawCalls

        public int maxDrawCalls()
        maximum number of draw calls
      • maxBlits

        public int maxBlits()
        maximum number of blit calls
      • maxTextureSize

        public int maxTextureSize()
        maximum texture size
      • maxTextureLayers

        public int maxTextureLayers()
        maximum texture layers
      • maxViews

        public int maxViews()
        maximum number of views
      • maxFrameBuffers

        public int maxFrameBuffers()
        maximum number of frame buffer handles
      • maxFBAttachments

        public int maxFBAttachments()
        maximum number of frame buffer attachments
      • maxPrograms

        public int maxPrograms()
        maximum number of program handles
      • maxShaders

        public int maxShaders()
        maximum number of shader handles
      • maxTextures

        public int maxTextures()
        maximum number of texture handles
      • maxTextureSamplers

        public int maxTextureSamplers()
        maximum number of texture samplers
      • maxComputeBindings

        public int maxComputeBindings()
        maximum number of compute bindings
      • maxVertexLayouts

        public int maxVertexLayouts()
        maximum number of vertex format layouts
      • maxVertexStreams

        public int maxVertexStreams()
        maximum number of vertex streams
      • maxIndexBuffers

        public int maxIndexBuffers()
        maximum number of index buffer handles
      • maxVertexBuffers

        public int maxVertexBuffers()
        maximum number of vertex buffer handles
      • maxDynamicIndexBuffers

        public int maxDynamicIndexBuffers()
        maximum number of dynamic index buffer handles
      • maxDynamicVertexBuffers

        public int maxDynamicVertexBuffers()
        maximum number of vertex buffer handles
      • maxUniforms

        public int maxUniforms()
        maximum number of uniform handles
      • maxOcclusionQueries

        public int maxOcclusionQueries()
        maximum number of occlusion query handles
      • maxEncoders

        public int maxEncoders()
        maximum number of encoder threads
      • minResourceCbSize

        public int minResourceCbSize()
        minimum resource command buffer size
      • transientVbSize

        public int transientVbSize()
        maximum transient vertex buffer size
      • transientIbSize

        public int transientIbSize()
        maximum transient index buffer size
      • create

        public static BGFXCapsLimits create​(long address)
        Returns a new BGFXCapsLimits instance for the specified memory address.
      • createSafe

        @Nullable
        public static BGFXCapsLimits createSafe​(long address)
        Like create, but returns null if address is NULL.
      • create

        public static BGFXCapsLimits.Buffer create​(long address,
                                                   int capacity)
        Create a BGFXCapsLimits.Buffer instance at the specified memory.
        Parameters:
        address - the memory address
        capacity - the buffer capacity
      • createSafe

        @Nullable
        public static BGFXCapsLimits.Buffer createSafe​(long address,
                                                       int capacity)
        Like create, but returns null if address is NULL.
      • nmaxDrawCalls

        public static int nmaxDrawCalls​(long struct)
        Unsafe version of maxDrawCalls().
      • nmaxBlits

        public static int nmaxBlits​(long struct)
        Unsafe version of maxBlits().
      • nmaxTextureSize

        public static int nmaxTextureSize​(long struct)
        Unsafe version of maxTextureSize().
      • nmaxTextureLayers

        public static int nmaxTextureLayers​(long struct)
        Unsafe version of maxTextureLayers().
      • nmaxViews

        public static int nmaxViews​(long struct)
        Unsafe version of maxViews().
      • nmaxFrameBuffers

        public static int nmaxFrameBuffers​(long struct)
        Unsafe version of maxFrameBuffers().
      • nmaxFBAttachments

        public static int nmaxFBAttachments​(long struct)
        Unsafe version of maxFBAttachments().
      • nmaxPrograms

        public static int nmaxPrograms​(long struct)
        Unsafe version of maxPrograms().
      • nmaxShaders

        public static int nmaxShaders​(long struct)
        Unsafe version of maxShaders().
      • nmaxTextures

        public static int nmaxTextures​(long struct)
        Unsafe version of maxTextures().
      • nmaxTextureSamplers

        public static int nmaxTextureSamplers​(long struct)
        Unsafe version of maxTextureSamplers().
      • nmaxComputeBindings

        public static int nmaxComputeBindings​(long struct)
        Unsafe version of maxComputeBindings().
      • nmaxVertexLayouts

        public static int nmaxVertexLayouts​(long struct)
        Unsafe version of maxVertexLayouts().
      • nmaxVertexStreams

        public static int nmaxVertexStreams​(long struct)
        Unsafe version of maxVertexStreams().
      • nmaxIndexBuffers

        public static int nmaxIndexBuffers​(long struct)
        Unsafe version of maxIndexBuffers().
      • nmaxVertexBuffers

        public static int nmaxVertexBuffers​(long struct)
        Unsafe version of maxVertexBuffers().
      • nmaxDynamicIndexBuffers

        public static int nmaxDynamicIndexBuffers​(long struct)
        Unsafe version of maxDynamicIndexBuffers().
      • nmaxDynamicVertexBuffers

        public static int nmaxDynamicVertexBuffers​(long struct)
        Unsafe version of maxDynamicVertexBuffers().
      • nmaxUniforms

        public static int nmaxUniforms​(long struct)
        Unsafe version of maxUniforms().
      • nmaxOcclusionQueries

        public static int nmaxOcclusionQueries​(long struct)
        Unsafe version of maxOcclusionQueries().
      • nmaxEncoders

        public static int nmaxEncoders​(long struct)
        Unsafe version of maxEncoders().
      • nminResourceCbSize

        public static int nminResourceCbSize​(long struct)
        Unsafe version of minResourceCbSize().
      • ntransientVbSize

        public static int ntransientVbSize​(long struct)
        Unsafe version of transientVbSize().
      • ntransientIbSize

        public static int ntransientIbSize​(long struct)
        Unsafe version of transientIbSize().