Class VkBindVideoSessionMemoryInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkBindVideoSessionMemoryInfoKHR>
org.lwjgl.vulkan.VkBindVideoSessionMemoryInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkBindVideoSessionMemoryInfoKHR extends org.lwjgl.system.Struct<VkBindVideoSessionMemoryInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying memory bindings for a video session object.
Valid Usage
  • memoryOffset must be less than the size of memory
  • memorySize must be less than or equal to the size of memory minus memoryOffset
Valid Usage (Implicit)
See Also

BindVideoSessionMemoryKHR

Layout


 struct VkBindVideoSessionMemoryInfoKHR {
     VkStructureType sType();
     void const * pNext();
     uint32_t memoryBindIndex();
     VkDeviceMemory memory();
     VkDeviceSize memoryOffset();
     VkDeviceSize memorySize();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • MEMORYBINDINDEX

      public static final int MEMORYBINDINDEX
      The struct member offsets.
    • MEMORY

      public static final int MEMORY
      The struct member offsets.
    • MEMORYOFFSET

      public static final int MEMORYOFFSET
      The struct member offsets.
    • MEMORYSIZE

      public static final int MEMORYSIZE
      The struct member offsets.
  • Constructor Details

    • VkBindVideoSessionMemoryInfoKHR

      public VkBindVideoSessionMemoryInfoKHR(ByteBuffer container)
      Creates a VkBindVideoSessionMemoryInfoKHR 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 Details