openrndr / org.openrndr.draw / DepthBuffer

DepthBuffer

interface DepthBuffer

Properties

format

abstract val format: DepthFormat

hasStencil

open val hasStencil: Boolean

height

abstract val height: Int

multisample

abstract val multisample: BufferMultisample

width

abstract val width: Int

Functions

bind

abstract fun bind(textureUnit: Int): Unit

destroy

abstract fun destroy(): Unit

resolveTo

abstract fun resolveTo(target: DepthBuffer): Unit

Companion Object Functions

create

fun create(width: Int, height: Int, format: DepthFormat = DepthFormat.DEPTH24_STENCIL8, multisample: BufferMultisample): DepthBuffer

Inheritors

DepthBufferGL3

class DepthBufferGL3 : DepthBuffer