Like this:
reinterpret_cast <GLvoid *> (start * sizeof(unsigned int));
More Related Contents:
- how openGL handles data service like socket service or http service? [closed]
- How to render depth linearly in modern OpenGL with gl_FragCoord.z in fragment shader?
- How does OpenGL work at the lowest level? [closed]
- Do conditional statements slow down shaders?
- What does “immediate mode” mean in OpenGL?
- What is the proper way to modify OpenGL vertex buffer?
- Is OpenGL coordinate system left-handed or right-handed?
- Passing a list of values to fragment shader
- How exactly does OpenGL do perspectively correct linear interpolation?
- In a fragment shader, why can’t I use a flat input integer to index a uniform array of sampler2D?
- Render OpenGL scene to texture using FBO in fixed function pipeline drawing
- Mesh class called with default constructor not working OpenGL C++
- How to debug a GLSL shader?
- OpenGL VAO best practices
- Why does GL divide `gl_Position` by W for you rather than letting you do it yourself?
- How to use Pivot Point in Transformations
- OpenGL translation before and after a rotation
- What exactly are eye space coordinates?
- OpenGL 2 Texture Internal Formats GL_RGB8I, GL_RGB32UI, etc
- How do you install GLUT and OpenGL in Visual Studio 2012?
- GLUT exit redefinition error
- glLineStipple deprecated in OpenGL 3.1
- Initializing OpenGL without GLUT
- How to Using the #include in glsl support ARB_shading_language_include
- Multiple textures in GLSL – only one works
- GLSL, semaphores?
- OpenGL stretched shapes – aspect ratio
- Frequency of shader invocations in rendering commands
- What are shaders in OpenGL and what do we need them for? [closed]
- Convert Quaternion rotation to rotation matrix?