Click or drag to resize
Ab4d.SharpEngine logo

InstancedMeshNodeSetDiffuseTexture Method

Overload List
 NameDescription
Public methodSetDiffuseTexture(GpuImage, CommonSamplerTypes, Single) Sets the diffuse texture that will be rendered by each instance. This also sets the color mask to white to preserve the color from the texture. By default, the sampler type is set to Miror and alpha clip threshold is set to 0.5. When diffuseTexture is null, then the texture is removed.
Public methodSetDiffuseTexture(GpuImage, GpuSampler, Single) Sets the diffuse texture and sampler that will be rendered by each instance. This also sets the color mask to white to preserve the color from the texture. By default, the alpha clip threshold is set to 0.5. When diffuseTexture is null, then the texture is removed.
Public methodSetDiffuseTexture(GpuImage, Color3, CommonSamplerTypes, Single) Sets the diffuse texture that will be rendered by each instance. The specified color mask multiplied with each pixel in the texture. By default, the sampler type is set to Miror and alpha clip threshold is set to 0.5. When diffuseTexture is null, then the texture is removed.
Public methodSetDiffuseTexture(GpuImage, Color3, GpuSampler, Single) Sets the diffuse texture and sampler that will be rendered by each instance. The specified color mask multiplied with each pixel in the texture. By default, the alpha clip threshold is set to 0.5. When diffuseTexture is null, then the texture is removed.
Top
See Also