Depth | |
public class DepthOnlyMaterial : Material, ITwoSidedMaterial
The DepthOnlyMaterial type exposes the following members.
| Name | Description | |
|---|---|---|
| DepthOnlyMaterial | Initializes a new instance of the DepthOnlyMaterial class |
| Name | Description | |
|---|---|---|
| IsTwoSided | Gets or sets a Boolean that specifies if the material should be rendered on both front and back side. Note that when rendering semi-transparent objects and when alpha clipping is not used, it is better to set BackMaterial to the same material as Material instead of setting IsTwoSided to true because this correctly rendered the back side before the front side. |
| Name | Description | |
|---|---|---|
| OnInitializeSceneResources |
Initializes resources with the specified Scene and GpuDevice.
This method can be overriden and is called from InitializeSceneResources(Scene) method.
(Overrides MaterialOnInitializeSceneResources(Scene, VulkanDevice)) |