Performs a texture mapping.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
void MapTexture( VertexBuffer buffer, VertexFormats vertexFormat, int vertexIndex, int vertexCount, int textureLayer ) |
Parameters
- buffer
- Type: VertexBuffer
A vertex buffer VertexBuffer.
- vertexFormat
- Type: VertexFormats
A format VertexFormats of the vertex buffer.
- vertexIndex
- Type: System..::.Int32
The index of the first vertex.
- vertexCount
- Type: System..::.Int32
The vertex count.
- textureLayer
- Type: System..::.Int32
The number of the texture layer.