gl:index-pointer

(gl:index-pointer opengl type stride offset data)


Description:

set index 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.)


Returns: boolean


Related:  


Examples:



Back to index