Click or drag to resize
DisplayTextureRefUse Method
Make this texture current so texture-based drawing operations use this texture.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public void Use(
	ShaderProgram sp,
	bool enableLighting
)

Parameters

sp
Type: (Default Namespace)ShaderProgram
Which shader program's variables should be bound to this texture.
enableLighting
Type: SystemBoolean
True to allow this texture's normal map (which is the same name with " nm" appended) to also be activated for this texture, or false to prevent this activation from also activating a normal map if one exists.
Remarks
See Also