Home > comp > gb.opengl > gl > getrenderbufferparameterivext 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Gl.GetRenderbufferParameterivEXT (gb.opengl)
Static Function GetRenderbufferParameterivEXT ( Target As Integer, Pname As Integer ) As Integer[]

Parameters

target

Specifies the target of the query operation. target must be Gl.RENDERBUFFER.

pname

Specifies the parameter whose value to retrieve from the renderbuffer bound to target.

params

Specifies the address of an array to receive the value of the queried parameter.

Description

Gl.GetRenderbufferParameteriv retrieves information about a bound renderbuffer object. target specifies the target of the query operation and must be Gl.RENDERBUFFER. pname specifies the parameter whose value to query and must be one of Gl.RENDERBUFFER_WIDTH, Gl.RENDERBUFFER_HEIGHT, Gl.RENDERBUFFER_INTERNAL_FORMAT, Gl.RENDERBUFFER_RED_SIZE, Gl.RENDERBUFFER_GREEN_SIZE, Gl.RENDERBUFFER_BLUE_SIZE, Gl.RENDERBUFFER_ALPHA_SIZE, Gl.RENDERBUFFER_DEPTH_SIZE, Gl.RENDERBUFFER_DEPTH_SIZE, Gl.RENDERBUFFER_STENCIL_SIZE, or Gl.RENDERBUFFER_SAMPLES.

Upon a successful return from Gl.GetRenderbufferParameteriv, if pname is Gl.RENDERBUFFER_WIDTH, Gl.RENDERBUFFER_HEIGHT, Gl.RENDERBUFFER_INTERNAL_FORMAT, or Gl.RENDERBUFFER_SAMPLES, then params will contain the width in pixels, the height in pixels, the internal format, or the number of samples, respectively, of the image of the renderbuffer currently bound to target.

If pname is Gl.RENDERBUFFER_RED_SIZE, Gl.RENDERBUFFER_GREEN_SIZE, Gl.RENDERBUFFER_BLUE_SIZE, Gl.RENDERBUFFER_ALPHA_SIZE, Gl.RENDERBUFFER_DEPTH_SIZE, or Gl.RENDERBUFFER_STENCIL_SIZE, then params will contain the actual resolutions (not the resolutions specified when the image array was defined) for the red, green, blue, alpha depth, or stencil components, respectively, of the image of the renderbuffer currently bound to target.

Errors

Gl.INVALID_ENUM is generated if pname is not one of the accepted tokens.

See also

Gl.GenRenderbuffers Gl.FramebufferRenderbuffer Gl.BindRenderbuffer Gl.RenderbufferStorage Gl.RenderbufferStorageMultisample

See original documentation on OpenGL website