RenderStage Class
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
Represents a way to instantiate a given RenderObject for rendering, esp. concerning effect selection and permutation.
System.Object →
RenderStage
Derived from RenderStage:
[DataContract]
public sealed class RenderStage : IIdentifiable
| Name | Description | |
|---|---|---|
| Constructors | ||
| RenderStage() | ||
| RenderStage(String, String) | ||
| Fields | ||
| Index | Index in RenderStages. |
|
| Output | Defines render targets this stage outputs to. |
|
| Properties | ||
| EffectSlotName | The effect permutation slot name. If similar to another RenderStage, effect permutations will be shared. |
|
| Filter | ||
| Id | Gets the id of this instance |
|
| Name | The name of this RenderStage. |
|
| OutputValidator | ||
| SortMode | Defines how RenderNode sorting should be performed. |
|
| Methods | ||
| ToString() | ||
Constructors
RenderStage()
public RenderStage()
RenderStage(String, String)
public RenderStage(string name, string effectSlotName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| System.String | effectSlotName |
Fields
Index
Index in RenderStages.
public int Index
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Output
Defines render targets this stage outputs to.
public RenderOutputDescription Output
Field Value
| Type | Description |
|---|---|
| RenderOutputDescription |
Properties
EffectSlotName
The effect permutation slot name. If similar to another RenderStage, effect permutations will be shared.
public string EffectSlotName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Filter
public RenderStageFilter Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderStageFilter |
Id
Gets the id of this instance
[DataMember(-100)]
[Display(null, null, Browsable = false)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid |
Name
The name of this RenderStage.
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
OutputValidator
public RenderOutputValidator OutputValidator { get; }
Property Value
| Type | Description |
|---|---|
| RenderOutputValidator |
SortMode
Defines how RenderNode sorting should be performed.
public SortMode SortMode { get; set; }
Property Value
| Type | Description |
|---|---|
| SortMode |
Methods
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()