Vixen
02b45cc4
csharp
public readonly record struct ScissorRect

A rectangle of the render target that fragments are kept in.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (4)

  • public int X

    The left edge, in pixels.

  • public int Y

    The top edge, in pixels.

  • public int Width

    The width in pixels.

  • public int Height

    The height in pixels.

Methods (2)

  • public ScissorRect(int X, int Y, int Width, int Height)

    A rectangle of the render target that fragments are kept in.

  • public static ScissorRect Full(Int2 size)

    The whole of a target of a given size.

Used by (15)

  • GlCommandListVixen.Graphics.OpenGL
  • ICommandListVixen.Graphics
  • ImpostorBakeVixen.Rendering
  • ImpostorBakeTestsVixen.Rendering.Tests
  • IrradianceCubeCaptureVixen.Rendering
  • NullCommandListVixen.Graphics.Null
  • OrderProbeVixen.Graphics.RenderGraph.Tests
  • RenderPassDescriptionVixen.Graphics
  • SurfaceCardCaptureVixen.Rendering
  • TrackingCommandListVixen.Graphics.RenderGraph.Tests
  • UiRendererVixen.Ui.Renderer
  • ValidationCleanTestsVixen.Graphics.Vulkan.Tests
  • VirtualShadowRendererVixen.Rendering
  • VulkanCommandListVixen.Graphics.Vulkan
  • WebGpuCommandListVixen.Graphics.WebGPU