Class RenderGroup
A group of renderers that will be processed together.
public class RenderGroup
- Inheritance
-
RenderGroup
- Inherited Members
Properties
IsEmpty
public bool IsEmpty { get; }
Property Value
Renderers
public ImmutableList<Renderer> Renderers { get; }
Property Value
- ImmutableList<Renderer>
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Equals(RenderGroup)
protected bool Equals(RenderGroup other)
Parameters
otherRenderGroup
Returns
For(Renderer)
public static RenderGroup For(Renderer renderer)
Parameters
rendererRenderer
Returns
For(IEnumerable<Renderer>)
public static RenderGroup For(IEnumerable<Renderer> renderers)
Parameters
renderersIEnumerable<Renderer>
Returns
GetData<T>()
public T GetData<T>()
Returns
- T
Type Parameters
T
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
WithData<T>(T)
public RenderGroup WithData<T>(T data)
Parameters
dataT
Returns
Type Parameters
T