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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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