namespace Brutal.VulkanApi { /// /// VkBindVideoSessionMemoryInfoKHR - Structure specifying memory bindings for a video session object /// /// /// /// The VkBindVideoSessionMemoryInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_queue /// typedef struct VkBindVideoSessionMemoryInfoKHR { /// VkStructureType sType; /// const void* pNext; /// uint32_t memoryBindIndex; /// VkDeviceMemory memory; /// VkDeviceSize memoryOffset; /// VkDeviceSize memorySize; /// } VkBindVideoSessionMemoryInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkBindVideoSessionMemoryInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.BindVideoSessionMemoryInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// MemoryBindIndex is the memory binding index to bind memory to. /// [FieldOffset(16)] public int MemoryBindIndex; /// /// Memory is the allocated device memory to be bound to the video session's memory binding with index memoryBindIndex. /// [FieldOffset(24)] public VkDeviceMemory Memory; /// /// MemoryOffset is the start offset of the region of memory which is to be bound. /// [FieldOffset(32)] public ByteSize64 MemoryOffset; /// /// MemorySize is the size in bytes of the region of memory, starting from memoryOffset bytes, to be bound. /// [FieldOffset(40)] public ByteSize64 MemorySize; } }