Module OgamlGraphics.Renderbuffer.DepthBuffer

Depth Renderbuffer
type t
Type of a depth renderbuffer
val create : (module RenderTarget.T with type t = 'a) -> 'a -> OgamlMath.Vector2i.t -> t
Creates a depth 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_attachment : t -> Attachment.DepthAttachment.t
DepthBuffer implements the interface DepthAttachable
val size : t -> OgamlMath.Vector2i.t
Returns the size of a renderbuffer