gl:vertex-pointer

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


Description:

set vertex 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 vertex (2 3 or 4)


Returns: boolean


Related:  


Examples:



Back to index