Module OgamlGraphics.Renderbuffer.DepthStencilBuffer

Depth and Stencil Renderbuffer
type t
Type of a depth stencil renderbuffer
val create : (module RenderTarget.T with type t = 'a) -> 'a -> OgamlMath.Vector2i.t -> t
Creates a depth 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_depth_stencil_attachment : t -> Attachment.DepthStencilAttachment.t
DepthStencilBuffer implements the interface DepthStencilAttachable
val size : t -> OgamlMath.Vector2i.t
Returns the size of a renderbuffer