Depth | |
public class DepthOnlyEffect : SolidColorEffect, IEffectConstructor<DepthOnlyEffect>
The DepthOnlyEffect type exposes the following members.
| Name | Description | |
|---|---|---|
| ApplyRenderingItemMaterial |
ApplyRenderingItemMaterial method sets the EffectTechnique, MaterialDescriptorSets and StateSortValue properties on the specified renderingItem.
(Overrides SolidColorEffectApplyRenderingItemMaterial(RenderingItem, Material, RenderingContext)) | |
| CreateNew | ||
| Dispose | (Overrides SolidColorEffectDispose(Boolean)) | |
| GetDefault | ||
| ResetEffectTechniques |
ResetEffectTechniques recreates all the effect techniques. It is called when the DefaultTransparentDepthStencilState and other default settings are changed.
(Overrides SolidColorEffectResetEffectTechniques) | |
| ResetPipelines |
ResetPipelines is called when RenderPass or some other property of Pipeline is changed so that existing pipelines need to be recreated.
(Overrides SolidColorEffectResetPipelines) |