namespace Brutal.VulkanApi { /// /// VkPipelineViewportStateCreateInfo - Structure specifying parameters of a newly created pipeline viewport state /// /// /// /// The VkPipelineViewportStateCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPipelineViewportStateCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkPipelineViewportStateCreateFlags flags; /// uint32_t viewportCount; /// const VkViewport* pViewports; /// uint32_t scissorCount; /// const VkRect2D* pScissors; /// } VkPipelineViewportStateCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkPipelineViewportStateCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PipelineViewportStateCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use. /// [FieldOffset(16)] public VkPipelineViewportStateCreateFlags Flags; /// /// ViewportCount is the number of viewports used by the pipeline. /// [FieldOffset(20)] public int ViewportCount; /// /// Viewports is a pointer to an array of VkViewport structures, defining the viewport transforms. If the viewport state is dynamic, this member is ignored. /// [FieldOffset(24)] public VkViewport* Viewports; /// /// ScissorCount is the number of scissors^ and must match the number of viewports. /// [FieldOffset(32)] public int ScissorCount; /// /// Scissors is a pointer to an array of VkRect2D structures defining the rectangular bounds of the scissor for the corresponding viewport. If the scissor state is dynamic, this member is ignored. /// [FieldOffset(40)] public VkRect2D* Scissors; } }