Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
Given value in a known data-pointer type, return void_p for pointer

src/c/h/chemlab-0.3/chemlab/graphics/buffers.py   chemlab(Download)
    glBindBuffer(GL_ARRAY_BUFFER, self.buffer)
    glBufferData(GL_ARRAY_BUFFER, ADT.arrayByteCount(data),
                 ADT.voidDataPointer(data), usage)
    glBindBuffer(GL_ARRAY_BUFFER, 0)
 
  def set_data(self, data):
    self.bind()
    glBufferData(GL_ARRAY_BUFFER, ADT.arrayByteCount(data), ADT.voidDataPointer(data), self.usage)
    self.unbind()
 

src/c/h/chemlab-HEAD/chemlab/graphics/buffers.py   chemlab(Download)
    glBindBuffer(GL_ARRAY_BUFFER, self.buffer)
    glBufferData(GL_ARRAY_BUFFER, ADT.arrayByteCount(data),
                 ADT.voidDataPointer(data), usage)
    glBindBuffer(GL_ARRAY_BUFFER, 0)
 
  def set_data(self, data):
    self.bind()
    glBufferData(GL_ARRAY_BUFFER, ADT.arrayByteCount(data), ADT.voidDataPointer(data), self.usage)
    self.unbind()
 

src/f/o/fos-legacy-HEAD/scratch/very_scratch/core/vbo.py   fos-legacy(Download)
    glBindBuffer(GL_ARRAY_BUFFER_ARB, self.buffer)
 
    glBufferData(GL_ARRAY_BUFFER_ARB, ADT.arrayByteCount(data), ADT.voidDataPointer(data), usage)