VertexArray.Resize Method

SFML.Net

VertexArrayResize Method
Resize the vertex array If \a vertexCount is greater than the current size, the previous vertices are kept and new (default-constructed) vertices are added. If \a vertexCount is less than the current size, existing vertices are removed from the array.

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public void Resize(
	uint vertexCount
)
Public Sub Resize ( 
	vertexCount As UInteger
)
public:
void Resize(
	unsigned int vertexCount
)
member Resize : 
        vertexCount : uint32 -> unit 

Parameters

vertexCount
Type: SystemUInt32
New size of the array (number of vertices)
See Also