Click or drag to resize
Ab4d.SharpEngine logo

StandardMaterialBaseSetDiffuseTextureSampler Method

SetDiffuseTextureSampler method sets the DiffuseTextureSampler to the specified sampler. It also sets the DiffuseTextureSamplerType to Other. It is also possible to set the DiffuseTextureSampler to a common sampler by setting the DiffuseTextureSamplerType.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public void SetDiffuseTextureSampler(
	GpuSampler? gpuSampler
)

Parameters

gpuSampler  GpuSampler
See Also