createDepthBuffer

expect abstract fun createDepthBuffer(    width: Int,     height: Int,     format: DepthFormat,     multisample: BufferMultisample = BufferMultisample.Disabled,     session: Session? = Session.active): DepthBuffer(source)

Creates a depth buffer with the specified dimensions, format, and additional configuration.

Return

A newly created DepthBuffer instance configured with the provided parameters.

Parameters

width

The width of the depth buffer in pixels.

height

The height of the depth buffer in pixels.

format

The format of the depth buffer, defining its precision and characteristics.

multisample

An optional setting to enable or disable multisampling for anti-aliasing. Defaults to no multisampling.

session

The session associated with this depth buffer. Defaults to the active session if not provided.

actual abstract fun createDepthBuffer(    width: Int,     height: Int,     format: DepthFormat,     multisample: BufferMultisample,     session: Session?): DepthBuffer(source)
actual abstract fun createDepthBuffer(    width: Int,     height: Int,     format: DepthFormat,     multisample: BufferMultisample,     session: Session?): DepthBuffer(source)