ColorTransformGroup Class
Namespace: Stride.Rendering.ImagesAssembly: 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
Remarks
This effect and all Transforms are collected and compiled into a single shader.
Name | Description | |
---|---|---|
Constructors | ||
ColorTransformGroup() | Initializes a new instance of the ColorTransformGroup class. |
|
ColorTransformGroup(String) | Initializes a new instance of the ColorTransformGroup class. |
|
Properties | ||
PostTransforms | Gets the post transforms applied after the standard Transforms. |
|
PreTransforms | Gets the pre transforms applied before the standard Transforms. |
|
Transforms | Gets the color transforms. |
|
Methods | ||
AddTemporaryTransform(ColorTransform) | ||
CollectPostTransforms() | ||
CollectPreTransforms() | ||
DrawCore(RenderDrawContext) | ||
InitializeCore() | ||
NotifyPermutationChange() |
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
Type | Name | Description |
---|---|---|
System.String | colorTransformGroupEffect | The color transform group effect. |
Properties
PostTransforms
Gets the post transforms applied after the standard Transforms.
public ColorTransformCollection PostTransforms { get; }
Property Value
Type | Description |
---|---|
ColorTransformCollection | The post transforms. |
PreTransforms
Gets the pre transforms applied before the standard Transforms.
public ColorTransformCollection PreTransforms { get; }
Property Value
Type | Description |
---|---|
ColorTransformCollection | The pre transforms. |
Transforms
Gets the color transforms.
[DataMember(10)]
[Display("Transforms", null, Expand = ExpandRule.Always)]
public ColorTransformCollection Transforms { get; }
Property Value
Type | Description |
---|---|
ColorTransformCollection | The transforms. |
Methods
AddTemporaryTransform(ColorTransform)
protected void AddTemporaryTransform(ColorTransform transform)
Parameters
Type | Name | Description |
---|---|---|
ColorTransform | transform |
CollectPostTransforms()
protected virtual void CollectPostTransforms()
CollectPreTransforms()
protected virtual void CollectPreTransforms()
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context1)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | context1 |
Overrides
InitializeCore()
protected override void InitializeCore()
Overrides
NotifyPermutationChange()
public void NotifyPermutationChange()