Class RenderOutputValidator
- Namespace
- Stride.Rendering.Compositing
- Assembly
- Stride.Rendering.dll
Represents how we setup the graphics pipeline output targets.
public sealed class RenderOutputValidator
- Inheritance
-
RenderOutputValidator
Properties
RenderTargets
public IReadOnlyList<RenderTargetDescription> RenderTargets { get; }
Property Value
ShaderSource
public ShaderMixinSource ShaderSource { get; }
Property Value
Methods
Add<T>(PixelFormat, bool)
public void Add<T>(PixelFormat format, bool isShaderResource = true) where T : IRenderTargetSemantic, new()
Parameters
format
PixelFormatisShaderResource
bool
Type Parameters
T
BeginCustomValidation(PixelFormat, MultisampleCount)
public void BeginCustomValidation(PixelFormat depthStencilFormat, MultisampleCount multisampleCount = MultisampleCount.None)
Parameters
depthStencilFormat
PixelFormatmultisampleCount
MultisampleCount
EndCustomValidation()
public void EndCustomValidation()
Find(Type)
public int Find(Type semanticType)
Parameters
semanticType
Type
Returns
Find<T>()
public int Find<T>() where T : IRenderTargetSemantic
Returns
Type Parameters
T
Validate(ref RenderOutputDescription)
public void Validate(ref RenderOutputDescription renderOutput)
Parameters
renderOutput
RenderOutputDescription