namespace Brutal.VulkanApi { /// /// VkVideoBeginCodingInfoKHR - Structure specifying video coding scope begin information /// /// /// /// The VkVideoBeginCodingInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_queue /// typedef struct VkVideoBeginCodingInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkVideoBeginCodingFlagsKHR flags; /// VkVideoSessionKHR videoSession; /// VkVideoSessionParametersKHR videoSessionParameters; /// uint32_t referenceSlotCount; /// const VkVideoReferenceSlotInfoKHR* pReferenceSlots; /// } VkVideoBeginCodingInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkVideoBeginCodingInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoBeginCodingInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use. /// [FieldOffset(16)] public VkVideoBeginCodingFlagsKHR Flags; /// /// VideoSession is the video session object to be bound for the processing of the video commands. /// [FieldOffset(24)] public VkVideoSessionKHR VideoSession; /// /// VideoSessionParameters is VK_NULL_HANDLE or a handle of a VkVideoSessionParametersKHR object to be used for the processing of the video commands. If VK_NULL_HANDLE, then no video session parameters object is bound for the duration of the video coding scope. /// [FieldOffset(32)] public VkVideoSessionParametersKHR VideoSessionParameters; /// /// ReferenceSlotCount is the number of elements in the pReferenceSlots array. /// [FieldOffset(40)] public int ReferenceSlotCount; /// /// ReferenceSlots is a pointer to an array of VkVideoReferenceSlotInfoKHR structures specifying the information used to determine the set of bound reference picture resources^ for the video coding scope and their initial association with DPB slot^ indices. /// [FieldOffset(48)] public VkVideoReferenceSlotInfoKHR* ReferenceSlots; } }