namespace Brutal.VulkanApi { /// /// VkVideoEncodeRateControlLayerInfoKHR - Structure to set encode per-layer rate control parameters /// /// /// /// The VkVideoEncodeRateControlLayerInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_video_encode_queue /// typedef struct VkVideoEncodeRateControlLayerInfoKHR { /// VkStructureType sType; /// const void* pNext; /// uint64_t averageBitrate; /// uint64_t maxBitrate; /// uint32_t frameRateNumerator; /// uint32_t frameRateDenominator; /// } VkVideoEncodeRateControlLayerInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkVideoEncodeRateControlLayerInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.VideoEncodeRateControlLayerInfoKHR; /// /// Next is a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// AverageBitrate is the average bitrate^ to be targeted by the implementation's rate control algorithm. /// [FieldOffset(16)] public nint AverageBitrate; /// /// MaxBitrate is the peak bitrate^ to be targeted by the implementation's rate control algorithm. /// [FieldOffset(24)] public nint MaxBitrate; /// /// FrameRateNumerator is the numerator of the frame rate assumed by the implementation's rate control algorithm. /// [FieldOffset(32)] public int FrameRateNumerator; /// /// FrameRateDenominator is the denominator of the frame rate assumed by the implementation's rate control algorithm. /// [FieldOffset(36)] public int FrameRateDenominator; } }