namespace Brutal.VulkanApi { /// /// VkPipelineViewportWScalingStateCreateInfoNV - Structure specifying parameters of a newly created pipeline viewport W scaling state /// /// /// /// The VkPipelineViewportWScalingStateCreateInfoNV structure is defined /// as: /// /// /// // Provided by VK_NV_clip_space_w_scaling /// typedef struct VkPipelineViewportWScalingStateCreateInfoNV { /// VkStructureType sType; /// const void* pNext; /// VkBool32 viewportWScalingEnable; /// uint32_t viewportCount; /// const VkViewportWScalingNV* pViewportWScalings; /// } VkPipelineViewportWScalingStateCreateInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkPipelineViewportWScalingStateCreateInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PipelineViewportWScalingStateCreateInfoNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ViewportWScalingEnable controls whether viewport *W* scaling is enabled. /// [FieldOffset(16)] public Brutal.Bool32 ViewportWScalingEnable; /// /// ViewportCount is the number of viewports used by *W* scaling, and must match the number of viewports in the pipeline if viewport *W* scaling is enabled. /// [FieldOffset(20)] public int ViewportCount; /// /// ViewportWScalings is a pointer to an array of VkViewportWScalingNV structures defining the *W* scaling parameters for the corresponding viewports. If the viewport *W* scaling state is dynamic, this member is ignored. /// [FieldOffset(24)] public VkViewportWScalingNV* ViewportWScalings; } }