depthBuffer

fun depthBuffer(format: DepthFormat = DepthFormat.DEPTH_STENCIL)(source)

create and attach a DepthBuffer

Parameters

format

fun depthBuffer(depthBuffer: DepthBuffer)(source)

attach an existing DepthBuffer

Parameters

depthBuffer

the DepthBuffer to attach to RenderTarget