Table of Contents

Class MSAAResolver

Namespace
Stride.Rendering.Compositing
Assembly
Stride.Rendering.dll

A renderer to resolve MSAA textures.

[DataContract]
[Display("MSAA Resolver", null)]
public class MSAAResolver : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Inheritance
MSAAResolver
Implements
Inherited Members
Extension Methods

Constructors

MSAAResolver()

Initializes a new instance of the MSAAResolver class.

public MSAAResolver()

MSAAResolver(string, string)

Initializes a new instance of the MSAAResolver class.

public MSAAResolver(string msaaResolverShaderName, string msaaDepthResolverShaderName)

Parameters

msaaResolverShaderName string

Name of the MSAA resolve pass shader.

msaaDepthResolverShaderName string

Name of the MSAA depth resolve pass shader.

Properties

Enabled

Gets or sets a value indicating whether this RendererCoreBase is enabled.

public override bool Enabled { get; set; }

Property Value

bool

true if enabled; otherwise, false.

FilterRadius

MSAA resolve filter radius value.

[DataMember(20)]
[DataMemberRange(0.5, 3, 0.01, 0.1, 3)]
public float FilterRadius { get; set; }

Property Value

float

FilterType

MSAA resolve filter type.

[DataMember(10)]
public MSAAResolver.FilterTypes FilterType { get; set; }

Property Value

MSAAResolver.FilterTypes

Methods

DrawCore(RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected override void DrawCore(RenderDrawContext drawContext)

Parameters

drawContext RenderDrawContext

InitializeCore()

protected override void InitializeCore()

Resolve(RenderDrawContext, Texture, Texture)

Resolves the specified input multisampled texture.

public void Resolve(RenderDrawContext drawContext, Texture input, Texture output)

Parameters

drawContext RenderDrawContext

The draw context.

input Texture

The input.

output Texture

The output.