Module RBO

RBO


See also:

Functions

gl.CreateRBO
gl.DeleteRBO

Tables

rbo
User Data RBO

Functions

gl.CreateRBO(xsize, ysize, data)

Parameters:

  1. xsize number
  2. ysize number
  3. data
    • target number GL_RENDERBUFFER_EXT
    • format number GL_RGBA
    • samples number any number here will result in creation of multisampled RBO (optional)

gl.DeleteRBO(rbo)

Parameters:

  1. rbo rbo

Tables

rbo

User Data RBO

Fields:

  1. target number
  2. format number
  3. xsize number
  4. ysize number
  5. valid bool
  6. samples number will return globalRendering->msaaLevel for multisampled RBO or 0 otherwise