Header menu logo Mibo

FullScreenQuad Type

A reusable fullscreen quad for post-process blits. Built against a graphics device on first use; FullScreenQuad.Draw applies an effect over a two-triangle quad in clip space. The caller is responsible for binding the source texture to a sampler and setting the active render target.

Constructors

Constructor Description

FullScreenQuad(gd)

Full Usage: FullScreenQuad(gd)

Parameters:
Returns: FullScreenQuad

Instance members

Instance member Description

this.Draw

Full Usage: this.Draw

Parameters:

Draws the quad with effect applied. The caller sets the render target and binds the source texture to the effect's sampler before calling.

effect : Effect

Type something to start searching.