Capítulo 224 de 859
This class can be used to automatically save the depth information of a rendering into a texture.
true, the texture is flipped along the vertical axis when uploaded to the GPU.Constructor
| Signature |
|---|
new DepthTexture( width : number, height : number, type : number, mapping : number, wrapS : number, wrapT : number, magFilter : number, minFilter : number, anisotropy : number, format : number, depth : number ) |
Properties
| Property | Description |
|---|---|
| `.compareFunction : NeverCompare | LessCompare |
.flipY : boolean | If set to true, the texture is flipped along the vertical axis when uploaded to the GPU. |
.generateMipmaps : boolean | Whether to generate mipmaps (if possible) for a texture. |
.isDepthTexture : boolean (readonly) | This flag can be used for type testing. |