Click or drag to resize
AB4D logo

IZBufferStateMaterial Interface

IZBufferStateMaterial defines ReadZBuffer and WriteZBuffer properties that control how ZBuffer is used.

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public interface IZBufferStateMaterial

The IZBufferStateMaterial type exposes the following members.

Properties
 NameDescription
Public propertyReadZBuffer Gets a Boolean that specifies if Z buffer is read when rendering the object - if the depth test is done when rendering the object. If false then the object is rendered regardless of its depth - if is rendered even if it is behind some other 3D objects.
Public propertyWriteZBuffer Gets a Boolean that specifies if Z buffer is written when rendering the object - if the object can occlude other 3D objects. If true then the objects behind the object will not be rendered. If false the object will not prevent rendering objects behind it.
Top
See Also