Module OgamlGraphics.Renderbuffer.StencilBuffer

Stencil Renderbuffer
type t
Type of a stencil renderbuffer
val create : (module RenderTarget.T with type t = 'a) -> 'a -> OgamlMath.Vector2i.t -> t
Creates a stencil renderbuffer from a context and a size Raises RBO_Error if the requested size exceeds the maximum size allowed by the context.
val to_stencil_attachment : t -> Attachment.StencilAttachment.t
StencilBuffer implements the interface StencilAttachable
val size : t -> OgamlMath.Vector2i.t
Returns the size of a renderbuffer