class VertexBuffer

in global :: Sandbox

😔 No documentation found.


public bool Indexed { get; }

Whether this vertex buffer has any indexes. This is set by .

public void Init( bool useIndexBuffer )

Clear the buffer and set whether it will have indices.

  • useIndexBuffer Whether this buffer will have indices. Affects .

public void Add( Vertex v )

Add a vertex

public void AddIndex( int i )

Add an index. This is relative to the top of the vertex buffer. So 0 is Vertex.Count., 1 is Vertex.Count -1

public void AddTriangleIndex( int a, int b, int c )

Add a triangle by indices. This is relative to the top of the vertex buffer. So 0 is Vertex.Count.

public void AddRawIndex( int i )

Add an index. This is NOT relative to the top of the vertex buffer.

public void Clear( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public VertexBuffer( )

😔 No documentation found.

public Vertex Default

😔 No documentation found.