Performs the texture mapping.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public void MapTexture(
	VertexBuffer buffer,
	VertexFormats vertexFormat,
	int vertexIndex,
	int vertexCount,
	int textureLayer
)

Parameters

buffer
Type: VertexBuffer
A vertex buffer.
vertexFormat
Type: VertexFormats
A vertex format.
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.

Implements

IXTextureMappingAlgorithm..::.MapTexture(VertexBuffer, VertexFormats, Int32, Int32, Int32)

Exceptions

ExceptionCondition
System..::.ArgumentNullException buffer is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also