RenderContextBase.SetTexture (TextureBase, textureUnitType) Method

Sets the texture on a specific texture unit.
Public Overridable Function SetTexture( _ 
ByVal texture As TextureBase, _ 
ByVal textureUnit As textureUnitType
) As Boolean
This language is not supported or no code example is available.
public virtual bool SetTexture( 
TextureBase texture
textureUnitType textureUnit 
)
This language is not supported or no code example is available.

Parameters

texture
TextureBase

The texture

textureUnit
textureUnitType

The texture unit

Return Value

bool

True if successful

.NET Framework

Supported in: 4.8

In this article

Definition