Click or drag to resize
AB4D logo

IDiffuseTextureMaterial Interface

IDiffuseTextureMaterial interface defines properties that define a material with textures.

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
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 propertyDiffuseTextures Gets an array of ShaderResourceView that define the textures.
Public propertySamplerStates Gets an array of SamplerState that define the state of the samplers.
Public propertyTextureBlendState Gets a BlendState that is used to render the texture. If null a CommonStates.Opaque will be used.
Public propertyTextureResourceName Gets a string that can be used to specify the name of the texture - this is usually a file name.
Top
See Also