Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assign XNA 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 xnaTexture
)
Public Function SetTexture ( _
	iSampler As Integer, _
	xnaTexture As Texture _
) As Boolean

Parameters

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

Return Value

false, in case of failure

See Also