Table of Contents

Class ColorTransformGroup

Namespace
Stride.Rendering.Images
Assembly
Stride.Rendering.dll

An effect combining a list of ColorTransform sub-effects.

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

Remarks

This effect and all Transforms are collected and compiled into a single shader.

Constructors

ColorTransformGroup()

Initializes a new instance of the ColorTransformGroup class.

public ColorTransformGroup()

ColorTransformGroup(string)

Initializes a new instance of the ColorTransformGroup class.

public ColorTransformGroup(string colorTransformGroupEffect)

Parameters

colorTransformGroupEffect string

The color transform group effect.

Properties

PostTransforms

Gets the post transforms applied after the standard Transforms.

public ColorTransformCollection PostTransforms { get; }

Property Value

ColorTransformCollection

The post transforms.

PreTransforms

Gets the pre transforms applied before the standard Transforms.

public ColorTransformCollection PreTransforms { get; }

Property Value

ColorTransformCollection

The pre transforms.

Transforms

Gets the color transforms.

[DataMember(10)]
[Display("Transforms", null, Expand = ExpandRule.Always)]
public ColorTransformCollection Transforms { get; }

Property Value

ColorTransformCollection

The transforms.

Methods

AddTemporaryTransform(ColorTransform)

protected void AddTemporaryTransform(ColorTransform transform)

Parameters

transform ColorTransform

CollectPostTransforms()

protected virtual void CollectPostTransforms()

CollectPreTransforms()

protected virtual void CollectPreTransforms()

DrawCore(RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected override void DrawCore(RenderDrawContext context1)

Parameters

context1 RenderDrawContext

InitializeCore()

protected override void InitializeCore()

NotifyPermutationChange()

public void NotifyPermutationChange()