class_docstr: Base class for render buffer object
  
  A render buffer can be in color, depth or stencil format. If this
  format is not specified, it is set when attached to the FrameBuffer.
  
  Parameters
  ----------
  shape : tuple
      The shape of the render buffer.
  format : {None, 'color', 'depth', 'stencil'}
      The format of the render buffer. See resize.
  resizeable : bool
      Indicates whether texture can be resized
class_docstr_tok: ["Base","class","for","render","buffer","object","A","render","buffer","can","be","in","color",",","depth","or","stencil","format",".","If","this","format","is","not","specified",",","it","is","set","when","attached","to","the","FrameBuffer",".","Parameters","--","--","--","--","--","shape",":","tuple","The","shape","of","the","render","buffer",".","format",":","{","None",",","'color","'",",","'depth","'",",","'stencil","'","}","The","format","of","the","render","buffer",".","See","resize",".","resizeable",":","bool","Indicates","whether","texture","can","be","resized"]
docstr: Render Buffer format
docstr_tok: ["Render","Buffer","format"]
code: def format(self):
      """Render Buffer format"""
      return self._format
  
imports: from .globject import GLObject
  from .texture import Texture2D
  from .wrappers import _check_valid, read_pixels
  from .context import get_current_canvas
label_desc: Use image node_id 3 for calling the RenderBuffer obj's underlying member method code with example usage: obj.format() and returns: self