Class VkIndirectCommandsLayoutTokenNVX

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkIndirectCommandsLayoutTokenNVX
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Struct specifying the details of an indirect command layout token.
    Valid Usage
    • bindingUnit must stay within device supported limits for the appropriate commands.
    • dynamicCount must stay within device supported limits for the appropriate commands.
    • divisor must be greater than 0 and a power of two.
    Valid Usage (Implicit)
    • tokenType must be a valid VkIndirectCommandsTokenTypeNVX value
    See Also

    VkIndirectCommandsLayoutCreateInfoNVX

    Member documentation

    • bindingUnit – has a different meaning depending on the type, please refer pseudo code further down for details.
    • dynamicCount – has a different meaning depending on the type, please refer pseudo code further down for details.
    • divisor – defines the rate at which the input data buffers are accessed.

    Layout

    
     struct VkIndirectCommandsLayoutTokenNVX {
         VkIndirectCommandsTokenTypeNVX tokenType;
         uint32_t bindingUnit;
         uint32_t dynamicCount;
         uint32_t divisor;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TOKENTYPE, BINDINGUNIT, DYNAMICCOUNT, DIVISOR

        The struct member offsets.
    • Constructor Detail

      • VkIndirectCommandsLayoutTokenNVX

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