Class: renderbuffer

The renderbuffer is for storing results of rendering processes for fbo attachments using rcmdfborb. It cannot be used as texture directly, but allows faster and more complex (multi-sampled) internal storage. Using rcmdbufferblit you can blit the result of a renderbuffer to a texture or backbuffer.

Hierarchy

o-+ renderinterface
  o-+ renderbuffer

Methods:

new ([textype,int width,height,[boolan windowsized],[int multisamples]])
returns: ([renderbuffer])
returns a new renderbuffer. You must setup its attributes prior use or pass directly. When setting failed no rb is returend.
setup (renderbuffer,textype,int width,height,[boolan windowsized],[int multisamples])
returns: ([renderbuffer])
returns self if the renderbuffer could be set to the given attributes. Windowsized means width and height are ignored and automatically set to window size, also when changing window resolution. Multisamples can be set to a value >0 if hardware capability for multisample renderbuffers exists.

Inherited Methods: