Provádí mapování textur.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
void MapTexture( VertexBuffer buffer, VertexFormats vertexFormat, int vertexIndex, int vertexCount, int textureLayer ) |
Parametry
- buffer
- Typ: VertexBuffer
Vertex buffer VertexBuffer obsahující informace o mapovaném objektu.
- vertexFormat
- Typ: VertexFormats
Formát VertexFormats vstupních dat vertex bufferu.
- vertexIndex
- Typ: System..::.Int32
Číslo prvního vrcholu.
- vertexCount
- Typ: System..::.Int32
Počet vertexů k mapování.
- textureLayer
- Typ: System..::.Int32
Číslo vrstvy textury.