openrndr / org.openrndr.internal.gl3 / DepthBufferGL3

DepthBufferGL3

class DepthBufferGL3 : DepthBuffer

Constructors

<init>

DepthBufferGL3(texture: Int, target: Int, width: Int, height: Int, format: DepthFormat, multisample: BufferMultisample)

Properties

format

val format: DepthFormat

height

val height: Int

multisample

val multisample: BufferMultisample

target

val target: Int

texture

val texture: Int

width

val width: Int

Inherited Properties

hasStencil

open val hasStencil: Boolean

Functions

bind

fun bind(textureUnit: Int): Unit

destroy

fun destroy(): Unit

resolveTo

fun resolveTo(target: DepthBuffer): Unit

Companion Object Functions

create

fun create(width: Int, height: Int, format: DepthFormat, multisample: BufferMultisample): DepthBufferGL3