Table of Contents

Class RenderGroup

Namespace
nadena.dev.ndmf.preview

A group of renderers that will be processed together.

public class RenderGroup
Inheritance
RenderGroup
Inherited Members

Properties

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

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 object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(RenderGroup)

protected bool Equals(RenderGroup other)

Parameters

other RenderGroup

Returns

bool

For(Renderer)

public static RenderGroup For(Renderer renderer)

Parameters

renderer Renderer

Returns

RenderGroup

For(IEnumerable<Renderer>)

public static RenderGroup For(IEnumerable<Renderer> renderers)

Parameters

renderers IEnumerable<Renderer>

Returns

RenderGroup

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

RenderGroup

Type Parameters

T