DrawElements() public method

public DrawElements ( BeginMode mode, int count, DrawElementType type, IntPtr indices ) : void
mode BeginMode
count int
type DrawElementType
indices System.IntPtr
return void
Exemplo n.º 1
0
 protected override void RenderContent(GraphicsInterface gi)
 {
     gi.DrawElements(fMode, indices.Length, DrawElementType.UnsignedInt, Indices);
 }
Exemplo n.º 2
0
 protected override void RenderContent(GraphicsInterface gi)
 {
     gi.DrawElements(fDrawingPrimitive, fNumberOfIndices, DrawElementType.UnsignedInt, IntPtr.Zero);
 }