Struct CommandBuilder Extends IDisposable
Builder for drawing commands.
You can use this to queue many drawing commands. The commands will be queued for rendering when you call the Dipose method. It is recommended that you use the using statement which automatically calls the Dispose method.
Warning
You must call either Dipose or DiscardAndDispose when you are done with this object to avoid memory leaks.
Inner Types
Public Methods
Draws an arrow between two points.
Draws an arrow between two points.
Draws an arrow between two points.
Draws an arrow between two points.
Draws an arrowhead at a point.
Draws an arrowhead at a point.
Draws an arrowhead at a point.
Draws an arrowhead at a point.
Draws an arrowhead centered around a circle.
Draws an arrowhead centered around a circle.
Draws an arrowhead centered around a circle.
Draws a cubic bezier curve.
Draws a cubic bezier curve.
Draws a circle in the XY plane.
Draws a circle in the XY plane.
Draws a circle in the XY plane.
Draws a circle in the XY plane.
Draws a circle in the XY plane.
Draws a circle in the XZ plane.
Draws a circle in the XZ plane.
Draws a circle in the XZ plane.
Draws a cross.
Draws a cross.
Draws a cross.
Draws a cross in the XY plane.
Draws a cross in the XY plane.
Draws a cross in the XY plane.
Draws a cross in the XZ plane.
Draws a cross in the XZ plane.
Draws a cross in the XZ plane.
Discards the contents of this command builder without rendering anything.
Submits this command builder for rendering.
Scope to draw multiple things relative to a transform object.
Scope to draw multiple things in screen space of a camera.
Draws a line between two points.
Draws a line between two points.
Draws lines through a sequence of points.
Draws lines through a sequence of points.
Draws lines through a sequence of points.
Draws lines through a sequence of points.
Draws lines through a sequence of points.
Draws lines through a sequence of points.
Draws lines through a sequence of points.
Draws lines through a sequence of points.
Pops a color from the stack.
Pops a matrix from the stack.
Pops a persist scope from the stack.
Draws everything until the next PopColor with the given color.
Multiply all coordinates until the next PopMatrix with the given matrix.
Draws everything until the next PopPersist for a number of seconds.
Multiply all coordinates until the next PopMatrix with the given matrix.
Draws a ray starting at a point and going in the given direction.
Draws a ray with a given length.
Draws a ray starting at a point and going in the given direction.
Draws a ray with a given length.
Draws a solid box.
Draws a solid box.
Draws a solid box.
Draws a solid box.
Draws a solid box.
Draws a solid box.
Draws a solid mesh with the given vertices.
Draws a solid mesh with the given vertices.
Draws the outline of a box.
Draws the outline of a box.
Draws the outline of an axis aligned box.
Draws the outline of an axis aligned box.
Draws the outline of a box.
Draws the outline of a box.
Draws a capsule.
Draws a capsule.
Draws a capsule.
Draws a capsule.
Draws a cylinder.
Draws a cylinder.
Draws a cylinder.
Draws a cylinder.
Draws a grid of lines.
Draws a grid of lines.
Draws a hexagon outline.
Draws a hexagon outline.
Draws a pentagon outline.
Draws a pentagon outline.
Draws a regular polygon outline.
Draws a regular polygon outline.
Draws a rectangle outline.
Draws a rectangle outline.
Draws a rectangle outline.
Draws a rectangle outline.
Draws a rectangle outline.
Draws a rectangle outline.
Draws a wire sphere.
Draws a wire sphere.
Draws a triangle outline.
Draws a triangle outline.
Draws a triangle outline.
Draws a triangle outline.
Scope to draw multiple things with the same color.
Scope to draw multiple things for a longer period of time.
Scope to draw multiple things with an implicit matrix transformation.
Public Static Methods
Returns a point on a cubic bezier curve.
Public Static Variables
Private/Protected Members
Helper for determining how large a pixel is at a given depth.
Internal rendering command.
Ensures the buffer has room for at least N more bytes.