namespace Brutal.VulkanApi { /// /// VkCommandBufferInheritanceViewportScissorInfoNV - Structure specifying command buffer inheritance information /// /// /// /// The VkCommandBufferInheritanceViewportScissorInfoNV structure is /// defined as: /// /// /// // Provided by VK_NV_inherited_viewport_scissor /// typedef struct VkCommandBufferInheritanceViewportScissorInfoNV { /// VkStructureType sType; /// const void* pNext; /// VkBool32 viewportScissor2D; /// uint32_t viewportDepthCount; /// const VkViewport* pViewportDepths; /// } VkCommandBufferInheritanceViewportScissorInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkCommandBufferInheritanceViewportScissorInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.CommandBufferInheritanceViewportScissorInfoNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ViewportScissor2D specifies whether the listed dynamic state is inherited. /// [FieldOffset(16)] public Brutal.Bool32 ViewportScissor2D; /// /// ViewportDepthCount specifies the maximum number of viewports to inherit. When viewportScissor2D is VK_FALSE, the behavior is as if this value is zero. /// [FieldOffset(20)] public int ViewportDepthCount; /// /// ViewportDepths is a pointer to a VkViewport structure specifying the expected depth range for each inherited viewport. /// [FieldOffset(24)] public VkViewport* ViewportDepths; } }