Module OgamlGraphics.RenderTarget.T

Signature of a valid render target module
type t
Type of a render target
val size : t -> OgamlMath.Vector2i.t
Returns the size of a render target
val context : t -> Context.t
Returns the internal context associated to a render target
val clear : ?color:Color.t option -> ?depth:bool -> ?stencil:bool -> t -> unit
Clears a render target
val bind : t -> DrawParameter.t -> unit
Binds a render target for drawing. System-only function, usually done automatically.