Documentation / device / hasDepthChannel
Function: hasDepthChannel()
hasDepthChannel(
format):boolean
Defined in: libs/device/src/base_types.ts:1771
Check if a given texture format contains a depth channel.
Parameters
format
The texture format to be checked.
Returns
boolean
true if the texture format contains a depth channel, otherwise false