DepthClearOption
EnumSettings for the depth clear option modes on a DepthStencilRenderTargetProvider.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Since Lens Scripting v272
Index
Enumeration Members
Enumeration Members
CustomTexture
CustomTexture:
number
Clear depth buffer by values from depth part of input texture. Will use custom value in case of unavailable input texture.
Since
Lens Scripting Version 272
CustomValue
CustomValue:
number
Clear depth buffer by specific value. Equal to enabled clear depth checkbox in Camera in previous Studio version.
Since
Lens Scripting Version 272
None
None:
number
Do not clear the depth buffer, just keep values. Equal to disabled clear depth checkbox in Camera in previous Studio version.
Since
Lens Scripting Version 272