namespace Brutal.VulkanApi
{
///
/// VkVideoEncodeAV1SessionCreateInfoKHR - Structure specifies AV1 encode session parameters
///
///
///
/// The VkVideoEncodeAV1SessionCreateInfoKHR structure is defined as:
///
///
/// // Provided by VK_KHR_video_encode_av1
/// typedef struct VkVideoEncodeAV1SessionCreateInfoKHR {
/// VkStructureType sType;
/// const void* pNext;
/// VkBool32 useMaxLevel;
/// StdVideoAV1Level maxLevel;
/// } VkVideoEncodeAV1SessionCreateInfoKHR;
///
///
[StructLayout(LayoutKind.Explicit, Size = 24)]
public unsafe partial struct VkVideoEncodeAV1SessionCreateInfoKHR()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.VideoEncodeAV1SessionCreateInfoKHR;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// UseMaxLevel indicates whether the value of maxLevel should be used by the implementation. When it is set to VK_FALSE, the implementation ignores the value of maxLevel and uses the value of VkVideoEncodeAV1CapabilitiesKHR::maxLevel, as reported by vkGetPhysicalDeviceVideoCapabilitiesKHR for the video profile.
///
[FieldOffset(16)]
public Brutal.Bool32 UseMaxLevel;
///
/// MaxLevel is a StdVideoAV1Level value specifying the upper bound on the AV1 level for the video bitstreams produced by the created video session.
///
[FieldOffset(20)]
public StdVideoAV1Level MaxLevel;
}
}