GlDebugging2D

Members

Static functions

DrawDots
void DrawDots(Vector2[] dot_points, Color color)

Draws dots based on specified points and color.

DrawLines
void DrawLines(Vector2[] line_points, Color color)

Draws lines based on specified points and color.

DrawRectangle
void DrawRectangle(Rectangle rect, Color color = Color.White)

Draws a line rectangle (2 triangles), with the specified color.

DrawRectangleFilled
void DrawRectangleFilled(Rectangle rect, Color color = Color.White)

Draws a filled rectangle, with the specified color.

PrepDebugging
void PrepDebugging(Renderer rend)

Prepares GlDebugging2D for rendering (backend, you don't need to run this yourself.)

ResetMatrix
void ResetMatrix()

Resets the matrix for the debugging primitives.

SetMatrix
void SetMatrix(Matrix4x4 camMatrix)

Sets the matrix for the debugging primitives.

Meta