namespace Brutal.VulkanApi { /// /// VkVideoEncodeH264SessionCreateInfoKHR - Structure specifies H.264 encode session parameters /// /// /// /// The VkVideoEncodeH264SessionCreateInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_encode_h264 /// typedef struct VkVideoEncodeH264SessionCreateInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkBool32 useMaxLevelIdc; /// StdVideoH264LevelIdc maxLevelIdc; /// } VkVideoEncodeH264SessionCreateInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkVideoEncodeH264SessionCreateInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoEncodeH264SessionCreateInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// UseMaxLevelIdc indicates whether the value of maxLevelIdc should be used by the implementation. When it is VK_FALSE, the implementation ignores the value of maxLevelIdc and uses the value of VkVideoEncodeH264CapabilitiesKHR::maxLevelIdc, as reported by vkGetPhysicalDeviceVideoCapabilitiesKHR for the video profile. /// [FieldOffset(16)] public Brutal.Bool32 UseMaxLevelIdc; /// /// MaxLevelIdc is a StdVideoH264LevelIdc value specifying the upper bound on the H.264 level for the video bitstreams produced by the created video session, where enum constant `STD_VIDEO_H264_LEVEL_IDC_<major>_<minor>` identifies H.264 level `<major>.<minor>` as defined in section A.3 of the ITU-T H.264 Specification^. /// [FieldOffset(20)] public StdVideoH264LevelIdc MaxLevelIdc; } }