createDepthBuffer
Creates a depth buffer with the specified dimensions, format, and additional configuration.
Return
A newly created DepthBuffer instance configured with the provided parameters.
Parameters
The width of the depth buffer in pixels.
The height of the depth buffer in pixels.
The format of the depth buffer, defining its precision and characteristics.
An optional setting to enable or disable multisampling for anti-aliasing. Defaults to no multisampling.
The session associated with this depth buffer. Defaults to the active session if not provided.
Creates a depth buffer with the specified dimensions, format, and additional configuration.
Return
A newly created DepthBuffer instance configured with the provided parameters.
Parameters
The width of the depth buffer in pixels.
The height of the depth buffer in pixels.
The format of the depth buffer, defining its precision and characteristics.
An optional setting to enable or disable multisampling for anti-aliasing. Defaults to no multisampling.
The session associated with this depth buffer. Defaults to the active session if not provided.
Creates a depth buffer with the specified dimensions, format, and additional configuration.
Return
A newly created DepthBuffer instance configured with the provided parameters.
Parameters
The width of the depth buffer in pixels.
The height of the depth buffer in pixels.
The format of the depth buffer, defining its precision and characteristics.
An optional setting to enable or disable multisampling for anti-aliasing. Defaults to no multisampling.
The session associated with this depth buffer. Defaults to the active session if not provided.