public DeviceGroupRenderPassBeginInfoKHR ( StructureType?sType = StructureType.DeviceGroupRenderPassBeginInfo, void *pNext = null, uint?deviceMask = null, uint?deviceRenderAreaCount = null, Rect2D *pDeviceRenderAreas = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (deviceMask is not null) { DeviceMask = deviceMask.Value; } if (deviceRenderAreaCount is not null) { DeviceRenderAreaCount = deviceRenderAreaCount.Value; } if (pDeviceRenderAreas is not null) { PDeviceRenderAreas = pDeviceRenderAreas; } }
public PipelineViewportExclusiveScissorStateCreateInfoNV ( StructureType?sType = StructureType.PipelineViewportExclusiveScissorStateCreateInfoNV, void *pNext = null, uint?exclusiveScissorCount = null, Rect2D *pExclusiveScissors = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (exclusiveScissorCount is not null) { ExclusiveScissorCount = exclusiveScissorCount.Value; } if (pExclusiveScissors is not null) { PExclusiveScissors = pExclusiveScissors; } }
public void CmdSetDiscardRectangleEXT(UInt32 firstDiscardRectangle, Rect2D?pDiscardRectangle) { unsafe { Rect2D valpDiscardRectangle = pDiscardRectangle ?? default(Rect2D); Rect2D *ptrpDiscardRectangle = pDiscardRectangle != null ? &valpDiscardRectangle : (Rect2D *)IntPtr.Zero; Interop.NativeMethods.vkCmdSetDiscardRectangleEXT(this.m, firstDiscardRectangle, (UInt32)(pDiscardRectangle != null ? 1 : 0), ptrpDiscardRectangle); } }
public void CmdSetScissor(UInt32 firstScissor, Rect2D?pScissor) { unsafe { Rect2D valpScissor = pScissor ?? default(Rect2D); Rect2D *ptrpScissor = pScissor != null ? &valpScissor : (Rect2D *)IntPtr.Zero; Interop.NativeMethods.vkCmdSetScissor(this.m, firstScissor, (UInt32)(pScissor != null ? 1 : 0), ptrpScissor); } }
public PipelineViewportExclusiveScissorStateCreateInfoNV ( StructureType sType = StructureType.PipelineViewportExclusiveScissorStateCreateInfoNV, void *pNext = default, uint exclusiveScissorCount = default, Rect2D *pExclusiveScissors = default ) { SType = sType; PNext = pNext; ExclusiveScissorCount = exclusiveScissorCount; PExclusiveScissors = pExclusiveScissors; }
public DeviceGroupRenderPassBeginInfo ( StructureType sType = StructureType.DeviceGroupRenderPassBeginInfo, void *pNext = default, uint deviceMask = default, uint deviceRenderAreaCount = default, Rect2D *pDeviceRenderAreas = default ) { SType = sType; PNext = pNext; DeviceMask = deviceMask; DeviceRenderAreaCount = deviceRenderAreaCount; PDeviceRenderAreas = pDeviceRenderAreas; }
public BindImageMemoryDeviceGroupInfo ( StructureType sType = StructureType.BindImageMemoryDeviceGroupInfo, void *pNext = default, uint deviceIndexCount = default, uint *pDeviceIndices = default, uint splitInstanceBindRegionCount = default, Rect2D *pSplitInstanceBindRegions = default ) { SType = sType; PNext = pNext; DeviceIndexCount = deviceIndexCount; PDeviceIndices = pDeviceIndices; SplitInstanceBindRegionCount = splitInstanceBindRegionCount; PSplitInstanceBindRegions = pSplitInstanceBindRegions; }
public PipelineDiscardRectangleStateCreateInfoEXT ( StructureType sType = StructureType.PipelineDiscardRectangleStateCreateInfoExt, void *pNext = default, uint flags = default, DiscardRectangleModeEXT discardRectangleMode = default, uint discardRectangleCount = default, Rect2D *pDiscardRectangles = default ) { SType = sType; PNext = pNext; Flags = flags; DiscardRectangleMode = discardRectangleMode; DiscardRectangleCount = discardRectangleCount; PDiscardRectangles = pDiscardRectangles; }
public PipelineViewportStateCreateInfo ( StructureType?sType = StructureType.PipelineViewportStateCreateInfo, void *pNext = null, uint?flags = null, uint?viewportCount = null, Viewport *pViewports = null, uint?scissorCount = null, Rect2D *pScissors = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (flags is not null) { Flags = flags.Value; } if (viewportCount is not null) { ViewportCount = viewportCount.Value; } if (pViewports is not null) { PViewports = pViewports; } if (scissorCount is not null) { ScissorCount = scissorCount.Value; } if (pScissors is not null) { PScissors = pScissors; } }
public PipelineViewportStateCreateInfo ( StructureType sType = StructureType.PipelineViewportStateCreateInfo, void *pNext = default, uint flags = default, uint viewportCount = default, Viewport *pViewports = default, uint scissorCount = default, Rect2D *pScissors = default ) { SType = sType; PNext = pNext; Flags = flags; ViewportCount = viewportCount; PViewports = pViewports; ScissorCount = scissorCount; PScissors = pScissors; }
public PipelineDiscardRectangleStateCreateInfoEXT ( StructureType?sType = StructureType.PipelineDiscardRectangleStateCreateInfoExt, void *pNext = null, uint?flags = null, DiscardRectangleModeEXT?discardRectangleMode = null, uint?discardRectangleCount = null, Rect2D *pDiscardRectangles = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (flags is not null) { Flags = flags.Value; } if (discardRectangleMode is not null) { DiscardRectangleMode = discardRectangleMode.Value; } if (discardRectangleCount is not null) { DiscardRectangleCount = discardRectangleCount.Value; } if (pDiscardRectangles is not null) { PDiscardRectangles = pDiscardRectangles; } }
public BindImageMemoryDeviceGroupInfo ( StructureType?sType = StructureType.BindImageMemoryDeviceGroupInfo, void *pNext = null, uint?deviceIndexCount = null, uint *pDeviceIndices = null, uint?splitInstanceBindRegionCount = null, Rect2D *pSplitInstanceBindRegions = null ) : this() { if (sType is not null) { SType = sType.Value; } if (pNext is not null) { PNext = pNext; } if (deviceIndexCount is not null) { DeviceIndexCount = deviceIndexCount.Value; } if (pDeviceIndices is not null) { PDeviceIndices = pDeviceIndices; } if (splitInstanceBindRegionCount is not null) { SplitInstanceBindRegionCount = splitInstanceBindRegionCount.Value; } if (pSplitInstanceBindRegions is not null) { PSplitInstanceBindRegions = pSplitInstanceBindRegions; } }
public unsafe partial void CmdSetExclusiveScissor([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint firstExclusiveScissor, [Count(Count = 0)] uint exclusiveScissorCount, [Count(Parameter = "exclusiveScissorCount"), Flow(FlowDirection.In)] Rect2D *pExclusiveScissors);
/// <summary>To be documented.</summary> public static unsafe Result GetPhysicalDevicePresentRectangles(this KhrSwapchain thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0)] Span <uint> pRectCount, [Count(Computed = "pRectCount"), Flow(FlowDirection.Out)] Rect2D *pRects) { // SpanOverloader return(thisApi.GetPhysicalDevicePresentRectangles(physicalDevice, surface, ref pRectCount.GetPinnableReference(), pRects)); }
internal static unsafe extern void vkCmdSetScissor(CommandBuffer commandBuffer, UInt32 firstScissor, UInt32 scissorCount, Rect2D *Scissors);
public static extern unsafe void vkCmdSetScissor(IntPtr commandBuffer, uint firstScissor, uint scissorCount, Rect2D *pScissors);
public abstract unsafe void CmdSetExclusiveScissor([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint firstExclusiveScissor, [Count(Count = 0)] uint exclusiveScissorCount, [Count(Computed = "exclusiveScissorCount"), Flow(FlowDirection.In)] Rect2D *pExclusiveScissors);
public unsafe partial void CmdSetDiscardRectangle([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint firstDiscardRectangle, [Count(Count = 0)] uint discardRectangleCount, [Count(Parameter = "discardRectangleCount"), Flow(FlowDirection.In)] Rect2D *pDiscardRectangles);
public abstract unsafe void CmdSetScissorWithCount([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint scissorCount, [Count(Computed = "scissorCount"), Flow(FlowDirection.In)] Rect2D *pScissors);
public abstract unsafe void CmdSetDiscardRectangle([Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0)] uint firstDiscardRectangle, [Count(Count = 0)] uint discardRectangleCount, [Count(Computed = "discardRectangleCount"), Flow(FlowDirection.In)] Rect2D *pDiscardRectangles);
public abstract unsafe Result GetPhysicalDevicePresentRectangles([Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0)] uint *pRectCount, [Count(Computed = "pRectCount"), Flow(FlowDirection.Out)] Rect2D *pRects);