메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
Destroy ( bool disposing ) : void |
Handle the destruction of the object
|
메소드 | 설명 | |
---|---|---|
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 ( |
protected Destroy ( bool disposing ) : void | ||
disposing | bool | Is the GC disposing the object, or is it an explicit call ? |
리턴 | void |
public Draw ( RenderTarget target, |
||
target | RenderTarget | Render target to draw to |
states | Current render states | |
리턴 | void |
public Resize ( uint vertexCount ) : void | ||
vertexCount | uint | New size of the array (number of vertices) |
리턴 | void |
public VertexArray ( PrimitiveType type ) : System | ||
type | PrimitiveType | Type of primitives |
리턴 | System |
public VertexArray ( PrimitiveType type, uint vertexCount ) : System | ||
type | PrimitiveType | Type of primitives |
vertexCount | uint | Initial number of vertices in the array |
리턴 | System |
public VertexArray ( |
||
copy | Transformable to copy | |
리턴 | System |