Skip to content

DrawCallCustom Class

A draw call that invokes an Action delegate.

C#
public class DrawCallCustom : IDrawCall

Inheritance object

Implements IDrawCall

Creates a new instance of this object.

C#
public DrawCallCustom(Action draw)

draw Action
The delegate to call when the draw call is drawn.

The delegate to call.

C#
public Action DrawCallback { get; set; }

Invokes DrawCallback.

C#
public void Draw()