glDrawBuffers

Specifies a list of color buffers to be drawn into

Signature

glDrawBuffers( GLsizei ( n ) , const GLenum *( bufs ) )-> void
glDrawBuffer( mode )
glDrawBuffers( n , bufs )
glDrawBuffers( bufs ) -> bufs

    Wrapper will calculate n from dims of bufs if only
    one argument is provided...
    

Parameters

VariablesDescription
n
Specifies the number of buffers in bufs .
bufs
Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.