Click or drag to resize
Ab4d.SharpEngine logo

IDiffuseTextureMaterial Interface

IDiffuseTextureMaterial interface defines properties that define a material with textures.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public interface IDiffuseTextureMaterial

The IDiffuseTextureMaterial type exposes the following members.

Properties
 NameDescription
Public propertyAlphaClipThreshold Pixels with alpha color values below this value will be clipped (not rendered and their depth will not be written to depth buffer). Expected values are between 0 and 1. When 0 (by default) then alpha clipping is disabled - this means that also pixels with alpha value 0 are fully processed (they are not visible but its depth value is still written so objects that are rendered afterwards and are behind the pixel will not be visible).
Public propertyDiffuseTexture Gets or sets a GpuImage objects that define the texture.
Public propertyDiffuseTextureSampler Gets the GpuSampler that defines how the diffuse texture is read by the graphics card.
Public propertyDiffuseTextureSamplerType Gets the sampler type for the diffuse texture. Sampler type defines how the texture is read by the graphics card.
Public propertyTextureSource Gets a source string that can contain file name or other string that defines the source of this GpuImage (TextureSource is read from GpuImage object and can be null even when DiffuseTexture is set).
Top
See Also