Class VkObjectTableIndexBufferEntryNVX

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

    public class VkObjectTableIndexBufferEntryNVX
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Parameters of an object table index buffer entry.
    Valid Usage
    Valid Usage (Implicit)
    • type must be a valid VkObjectEntryTypeNVX value
    • flags must be a valid combination of VkObjectEntryUsageFlagBitsNVX values
    • flags must not be 0
    • buffer must be a valid VkBuffer handle
    • indexType must be a valid VkIndexType value

    Member documentation

    • buffer – specifies the VkBuffer that can be bound as index buffer
    • indexType – specifies the VkIndexType used with this index buffer

    Layout

    
     struct VkObjectTableIndexBufferEntryNVX {
         VkObjectEntryTypeNVX type;
         VkObjectEntryUsageFlagsNVX flags;
         VkBuffer buffer;
         VkIndexType indexType;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, FLAGS, BUFFER, INDEXTYPE

        The struct member offsets.
    • Constructor Detail

      • VkObjectTableIndexBufferEntryNVX

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