depthBuffer

fun depthBuffer(format: DepthFormat = DepthFormat.DEPTH24_STENCIL8)

create and attach a DepthBuffer

Parameters

fun depthBuffer(depthBuffer: DepthBuffer)

attach an existing DepthBuffer

Parameters

depthBuffer

the DepthBuffer to attach to RenderTarget