Click or drag to resize
Ab4d.SharpEngine logo

DepthOnlyEffect Class

DepthOnlyEffect is used by the DepthOnlyMaterial and renders only depth values into the depth buffers and does not execute any fragment shader (used for depth pre-pass).
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.Effects
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public class DepthOnlyEffect : SolidColorEffect, 
	IEffectConstructor<DepthOnlyEffect>

The DepthOnlyEffect type exposes the following members.

Methods
 NameDescription
Public methodApplyRenderingItemMaterial ApplyRenderingItemMaterial method sets the EffectTechnique, MaterialDescriptorSets and StateSortValue properties on the specified renderingItem.
(Overrides SolidColorEffectApplyRenderingItemMaterial(RenderingItem, Material, RenderingContext))
Public methodStatic memberCreateNew 
Protected methodDispose
(Overrides SolidColorEffectDispose(Boolean))
Public methodStatic memberGetDefault 
Public methodResetEffectTechniques ResetEffectTechniques recreates all the effect techniques. It is called when the DefaultTransparentDepthStencilState and other default settings are changed.
(Overrides SolidColorEffectResetEffectTechniques)
Public methodResetPipelines ResetPipelines is called when RenderPass or some other property of Pipeline is changed so that existing pipelines need to be recreated.
(Overrides SolidColorEffectResetPipelines)
Top
See Also