GaussianCompositeProgram

Screen composite for the reduced-resolution Gaussian-splat pass. Draws one full-screen quad sampling the pass color texture (premultiplied alpha) over the scene; the global GL_ONE, GL_ONE_MINUS_SRC_ALPHA blend state completes the over-compositing, so the result matches direct full-resolution rendering up to the resolution of the offscreen target.

The pass framebuffer grows monotonically and can be larger than the rendered area, so loadTexScale maps the unit quad onto only the rendered sub-region of the texture.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Indicates the approximate size of the OpenGL resources referenced by this GPU program.

Functions

Link copied to clipboard

Fraction of the texture the rendered pass area occupies, per axis.

Link copied to clipboard
open override fun release(dc: DrawContext)

Frees any resources associated with this instance. After this method returns the rendering resource is invalid, and any associated GL object is deleted.

Link copied to clipboard