namespace Brutal.VulkanApi { /// /// VkVideoEncodeH265RateControlLayerInfoKHR - Structure describing H.265 per-layer rate control parameters /// /// /// /// The VkVideoEncodeH265RateControlLayerInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_encode_h265 /// typedef struct VkVideoEncodeH265RateControlLayerInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkBool32 useMinQp; /// VkVideoEncodeH265QpKHR minQp; /// VkBool32 useMaxQp; /// VkVideoEncodeH265QpKHR maxQp; /// VkBool32 useMaxFrameSize; /// VkVideoEncodeH265FrameSizeKHR maxFrameSize; /// } VkVideoEncodeH265RateControlLayerInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 64)] public unsafe partial struct VkVideoEncodeH265RateControlLayerInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoEncodeH265RateControlLayerInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// UseMinQp indicates whether the QP values determined by rate control will be clamped to the lower bounds on the QP values specified in minQp. /// [FieldOffset(16)] public Brutal.Bool32 UseMinQp; /// /// MinQp specifies the lower bounds on the QP values, for each picture type, that the implementation's rate control algorithm will use when useMinQp is VK_TRUE. /// [FieldOffset(20)] public VkVideoEncodeH265QpKHR MinQp; /// /// UseMaxQp indicates whether the QP values determined by rate control will be clamped to the upper bounds on the QP values specified in maxQp. /// [FieldOffset(32)] public Brutal.Bool32 UseMaxQp; /// /// MaxQp specifies the upper bounds on the QP values, for each picture type, that the implementation's rate control algorithm will use when useMaxQp is VK_TRUE. /// [FieldOffset(36)] public VkVideoEncodeH265QpKHR MaxQp; /// /// UseMaxFrameSize indicates whether the implementation's rate control algorithm should use the values specified in maxFrameSize as the upper bounds on the encoded frame size for each picture type. /// [FieldOffset(48)] public Brutal.Bool32 UseMaxFrameSize; /// /// MaxFrameSize specifies the upper bounds on the encoded frame size, for each picture type, when useMaxFrameSize is VK_TRUE. /// [FieldOffset(52)] public VkVideoEncodeH265FrameSizeKHR MaxFrameSize; } }