glBindFragDataLocationIndexed

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

Signature

glBindFragDataLocationIndexed( GLuint ( program ) , GLuint ( colorNumber ) , GLuint ( index ) , const char *( name ) )-> void
glBindFragDataLocationIndexed( program , colorNumber , index , 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
index
The index of the color input to bind the user-defined varying out variable to
name
The name of the user-defined varying out variable whose binding to modify