Click or drag to resize
Ab4d.SharpEngine logo

SceneDefaultTransparentDepthStencilState Property

Gets or sets the default DepthStencil state that is used for transparent objects. Initially the value is set to DepthReadWrite, but this can be set to CommonStatesManager.DepthRead to prevent that transparent objects would block rendering other transparent objects. Setting this value will force recreating all effect techniques which can be a very slow operation, so make sure that you set this value only when required.

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public PipelineDepthStencilStateCreateInfo DefaultTransparentDepthStencilState { get; set; }

Property Value

PipelineDepthStencilStateCreateInfo
See Also