MSAAResolver Class
Namespace: Stride.Rendering.CompositingAssembly: Stride.Rendering.dll
A renderer to resolve MSAA textures.
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → ImageEffect →
MSAAResolver
Derived from MSAAResolver:
[DataContract]
[Display("MSAA Resolver", null)]
public class MSAAResolver : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
MSAAResolver() | Initializes a new instance of the MSAAResolver class. |
|
MSAAResolver(String, String) | Initializes a new instance of the MSAAResolver class. |
|
Properties | ||
Enabled | ||
FilterRadius | MSAA resolve filter radius value. |
|
FilterType | MSAA resolve filter type. |
|
Methods | ||
DrawCore(RenderDrawContext) | ||
InitializeCore() | ||
Resolve(RenderDrawContext, Texture, Texture) | Resolves the specified input multisampled texture. |
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
Type | Name | Description |
---|---|---|
System.String | msaaResolverShaderName | Name of the MSAA resolve pass shader. |
System.String | msaaDepthResolverShaderName | Name of the MSAA depth resolve pass shader. |
Properties
Enabled
public override bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
FilterRadius
MSAA resolve filter radius value.
[DataMember(20)]
[DataMemberRange(0.5, 3, 0.01, 0.1, 3)]
public float FilterRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
FilterType
MSAA resolve filter type.
[DataMember(10)]
public MSAAResolver.FilterTypes FilterType { get; set; }
Property Value
Type | Description |
---|---|
MSAAResolver.FilterTypes |
Methods
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext drawContext)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | drawContext |
Overrides
InitializeCore()
protected override void InitializeCore()
Overrides
Resolve(RenderDrawContext, Texture, Texture)
Resolves the specified input multisampled texture.
public void Resolve(RenderDrawContext drawContext, Texture input, Texture output)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | drawContext | The draw context. |
Texture | input | The input. |
Texture | output | The output. |