glBindFragDataLocation

bind a user-defined varying out variable to a fragment shader color number

Signature

glBindFragDataLocation( GLuint ( program ) , GLuint ( colorNumber ) , const char * ( name ) )-> void
glBindFragDataLocation( program , color , name )

Parameters

VariablesDescription
program
The name of the program containing varying out variable whose binding to modify
colorNumber
The color number to bind the user-defined varying out variable to
name
The name of the user-defined varying out variable whose binding to modify