Vixen
dd8b0a81
csharp
public readonly record struct BlendState

How a fragment combines with what is already in the target.

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

Fields and properties (12)

  • public bool Enabled

    Whether to blend at all.

  • public BlendFactor SourceColour

    The source colour factor.

  • public BlendFactor DestinationColour

    The destination colour factor.

  • public BlendOperation ColourOperation

    How the two combine.

  • public BlendFactor SourceAlpha

    The source alpha factor.

  • public BlendFactor DestinationAlpha

    The destination alpha factor.

  • public BlendOperation AlphaOperation

    How the two alphas combine.

  • public ColourWriteMask WriteMask

    Which channels may be written.

  • public static BlendState Opaque

    Overwrite. The default.

  • public static BlendState AlphaBlend

    Straight alpha blending.

  • public static BlendState PremultipliedAlpha

    Premultiplied alpha blending.

  • public static BlendState Additive

    Additive — particles, glow.

Methods (1)

Used by (49, showing 40)

  • VirtualGeometryGameVirtualGeometry
  • ColourTargetStateVixen.Graphics
  • CompositorAssetTestsVixen.Rendering.Tests
  • CompositorBuilderVixen.Rendering
  • CompositorImageTestsVixen.Graphics.Golden.Tests
  • DepthResolveImageTestsVixen.Graphics.Golden.Tests
  • EditorGizmoFacingDeviceTestsVixen.Graphics.Golden.Tests
  • FixtureVixen.Graphics.Golden.Tests
  • FoliageDrawPassVixen.Rendering.Terrain
  • FoliageVelocityPassVixen.Rendering.Terrain
  • FullScreenRendererVixen.Rendering
  • GlCommandListTestsVixen.Graphics.OpenGL.Tests
  • GlDeviceTestsVixen.Graphics.OpenGL.Tests
  • GlPipelineVixen.Graphics.OpenGL
  • GlReplayTestsVixen.Graphics.OpenGL.Tests
  • GlStateCacheVixen.Graphics.OpenGL
  • GlStateCacheTestsVixen.Graphics.OpenGL.Tests
  • GoldenImageTestsVixen.Graphics.Golden.Tests
  • GpuClusterRasterVixen.Rendering
  • GraphicsCompositorTestsVixen.Rendering.Tests
  • GrassDrawPassVixen.Rendering.Terrain
  • GrassVelocityPassVixen.Rendering.Terrain
  • ImpostorCapturePassVixen.Rendering
  • IrradianceCaptureDeviceTestsVixen.Graphics.Golden.Tests
  • LineRendererVixen.Rendering
  • MeshInstanceRendererVixen.Rendering
  • MeshRendererVixen.Rendering
  • MsaaResolveImageTestsVixen.Graphics.Golden.Tests
  • NativeWebGpuTestsVixen.Graphics.WebGPU.Tests
  • ParticleMeshDeviceTestsVixen.Graphics.Golden.Tests
  • ParticlePictureVixen.Vfx.Gpu.Tests
  • ParticleSpriteDeviceTestsVixen.Graphics.Golden.Tests
  • PipelineDefaultTestsVixen.Graphics.Tests
  • PipelineStateImageTestsVixen.Graphics.Golden.Tests
  • PipelinesVixen.Graphics.OpenGL.Tests
  • RenderStageVixen.Rendering
  • ShadowAtlasTileDeviceTestsVixen.Graphics.Golden.Tests
  • SurfaceCacheRendererDeviceTestsVixen.Graphics.Golden.Tests
  • SurfaceCardCaptureDeviceTestsVixen.Graphics.Golden.Tests
  • TerrainRendererVixen.Rendering.Terrain