Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.DebugUtilities.PrimitiveBatch Class Reference
Inheritance diagram for VerticesEngine.DebugUtilities.PrimitiveBatch:

Public Member Functions

 PrimitiveBatch (GraphicsDevice graphicsDevice, int bufferSize=DefaultBufferSize)
 
void Dispose ()
 
void SetProjection (ref Matrix projection)
 
void Begin (ref Matrix projection, ref Matrix view)
 Begin is called to tell the PrimitiveBatch what kind of primitives will be drawn, and to prepare the graphics card to render those primitives.
 
bool IsReady ()
 
void AddVertex (Vector2 vertex, Color color, PrimitiveType primitiveType)
 
void End ()
 End is called once all the primitives have been drawn using AddVertex. it will call Flush to actually submit the draw call to the graphics card, and then tell the basic effect to end.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Member Function Documentation

◆ Begin()

void VerticesEngine.DebugUtilities.PrimitiveBatch.Begin ( ref Matrix projection,
ref Matrix view )

Begin is called to tell the PrimitiveBatch what kind of primitives will be drawn, and to prepare the graphics card to render those primitives.

Parameters
projectionThe projection.
viewThe view.

The documentation for this class was generated from the following file: