gl:color-pointer

(gl:color-pointer opengl size type stride offset data)


Description:

set color array data


Arguments:

           data -- NSData object

         stride -- stride between elements (number of bytes)

         opengl -- opengl instance

         offset -- initial offset into data (number of bytes)

           type -- data type (*gl:float* *gl:short* etc.)

           size -- the number of arguments for color


Returns: boolean


Related:  


Examples:



Back to index