Class VkCommandBufferBeginInfo

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

    public class VkCommandBufferBeginInfo
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying a command buffer begin operation.
    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkCommandBufferInheritanceInfo, BeginCommandBuffer

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – a bitmask of VkCommandBufferUsageFlagBits specifying usage behavior for the command buffer.
    • pInheritanceInfo – a pointer to a VkCommandBufferInheritanceInfo structure, which is used if commandBuffer is a secondary command buffer. If this is a primary command buffer, then this value is ignored.

    Layout

    
     struct VkCommandBufferBeginInfo {
         VkStructureType sType;
         void const * pNext;
         VkCommandBufferUsageFlags flags;
         VkCommandBufferInheritanceInfo const * pInheritanceInfo;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, PINHERITANCEINFO

        The struct member offsets.
    • Constructor Detail

      • VkCommandBufferBeginInfo

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