Méthode | Description | |
---|---|---|
Bind ( ) : void |
Binds the VertexBuffer.
|
|
Dispose ( ) : void |
Disposes the object.
|
|
EnableVertexAttribArray ( uint index ) : void |
Enables the vertex attribute array.
|
|
SetData ( float vertices ) : void |
Sets the Data. Bind must be called in order to take effect. |
|
Unbind ( ) : void |
Unbinds the VertexBuffer.
|
|
VertexAttribPointer ( uint index, int size, bool normalized, int stride, int offset ) : void |
Pushs the vertex attributes description.
|
|
VertexBuffer ( ) : System |
Initializes a new VertexBuffer class.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes the object.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | The disposing state. |
Résultat | void |
public static EnableVertexAttribArray ( uint index ) : void | ||
index | uint | The Index. |
Résultat | void |
public SetData ( float vertices ) : void | ||
vertices | float | The Vertices. |
Résultat | void |
public static VertexAttribPointer ( uint index, int size, bool normalized, int stride, int offset ) : void | ||
index | uint | The Index. |
size | int | The Size. |
normalized | bool | The normalized State. |
stride | int | The Stride. |
offset | int | The Offset. |
Résultat | void |