Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assign a texture to the given sampler unit on graphics device.

Namespace: Visual3D.Graphics3D
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public bool SetTexture(
	int iSampler,
	Texture texture
)
Public Function SetTexture ( _
	iSampler As Integer, _
	texture As Texture _
) As Boolean

Parameters

iSampler
Int32
Zero-based index of texture sampler on graphics device.
texture
Texture
Texture reference.

Return Value

false, in case of failure

See Also