Back to Filament

setDepthCulling

docs/android/dokka/filament-android/com.google.android.filament/-material-instance/set-depth-culling.md

1.75.0610 B
Original Source

//filament-android/com.google.android.filament/MaterialInstance/setDepthCulling

setDepthCulling

[main]
open fun setDepthCulling(enable: Boolean)

Overrides the default depth testing state that was set on the material.

See also

<a href="https://google.github.io/filament/Materials.html#materialdefinitions/materialblock/rasterization:depthCulling">Rasterization: depthCulling