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
obj
objectThe object to compare with the current object.
Returns
Equals(RenderGroup)
protected bool Equals(RenderGroup other)
Parameters
other
RenderGroup
Returns
For(Renderer)
public static RenderGroup For(Renderer renderer)
Parameters
renderer
Renderer
Returns
For(IEnumerable<Renderer>)
public static RenderGroup For(IEnumerable<Renderer> renderers)
Parameters
renderers
IEnumerable<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
data
T
Returns
Type Parameters
T