MCPcopy Create free account
hub / github.com/pmndrs/postprocessing / getDepthTexture

Method getDepthTexture

src/passes/EffectPass.js:527–531  ·  view source on GitHub ↗

* Returns the current depth texture. * * @return {Texture} The current depth texture, or null if there is none.

()

Source from the content-addressed store, hash-verified

525 */
526
527 getDepthTexture() {
528
529 return this.fullscreenMaterial.depthBuffer;
530
531 }
532
533 /**
534 * Sets the depth texture.

Callers 1

updateMaterialMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected