Method | Description | |
---|---|---|
Append ( |
Add a vertex to the array
|
|
Clear ( ) : void |
Clear the vertex array
|
|
Draw ( RenderTarget target, |
Draw the vertex array to a render target
|
|
Resize ( uint vertexCount ) : void |
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.
|
|
VertexArray ( ) : System |
Default constructor
|
|
VertexArray ( PrimitiveType type ) : System |
Construct the vertex array with a type
|
|
VertexArray ( PrimitiveType type, uint vertexCount ) : System |
Construct the vertex array with a type and an initial number of vertices
|
|
VertexArray ( |
Construct the vertex array from another vertex array
|
|
this ( uint index ) : |
Read-write access to vertices by their index. This function doesn't check index, it must be in range [0, VertexCount - 1]. The behaviour is undefined otherwise.
|
Method | Description | |
---|---|---|
Destroy ( bool disposing ) : void |
Handle the destruction of the object
|
Method | Description | |
---|---|---|
sfRenderTexture_drawVertexArray ( |
||
sfRenderWindow_drawVertexArray ( |
||
sfVertexArray_append ( |
||
sfVertexArray_clear ( |
||
sfVertexArray_copy ( |
||
sfVertexArray_create ( ) : |
||
sfVertexArray_destroy ( |
||
sfVertexArray_getBounds ( |
||
sfVertexArray_getPrimitiveType ( |
||
sfVertexArray_getVertex ( |
||
sfVertexArray_getVertexCount ( |
||
sfVertexArray_resize ( |
||
sfVertexArray_setPrimitiveType ( |
public Append ( |
||
vertex | Vertex to add | |
return | void |
protected Destroy ( bool disposing ) : void | ||
disposing | bool | Is the GC disposing the object, or is it an explicit call ? |
return | void |
public Draw ( RenderTarget target, |
||
target | RenderTarget | Render target to draw to |
states | Current render states | |
return | void |
public Resize ( uint vertexCount ) : void | ||
vertexCount | uint | New size of the array (number of vertices) |
return | void |
public VertexArray ( PrimitiveType type ) : System | ||
type | PrimitiveType | Type of primitives |
return | System |
public VertexArray ( PrimitiveType type, uint vertexCount ) : System | ||
type | PrimitiveType | Type of primitives |
vertexCount | uint | Initial number of vertices in the array |
return | System |
public VertexArray ( |
||
copy | Transformable to copy | |
return | System |
public this ( uint index ) : |
||
index | uint | Index of the vertex to get |
return |