|
Blender V5.0
|
Functions | |
Vertex Array Bindings | |
| void | update_bindings (const GLuint vao, const Batch *batch, const ShaderInterface *interface) |
| void | update_bindings (const GLuint vao, uint v_first, const GPUVertFormat *format, const ShaderInterface *interface) |
| void blender::gpu::GLVertArray::update_bindings | ( | const GLuint | vao, |
| const Batch * | batch, | ||
| const ShaderInterface * | interface ) |
Update the Attribute Binding of the currently bound VAO.
Definition at line 82 of file gl_vertex_array.cc.
References batch, blender::gpu::GLVertBuf::bind(), blender::gpu::GLContext::default_attr_vbo_, blender::gpu::VertBuf::format, blender::gpu::GLContext::get(), GPU_BATCH_VBO_MAX_LEN, mask(), v, blender::gpu::vbo_bind(), and blender::gpu::VertBuf::vertex_len.
Referenced by blender::gpu::GLImmediate::end(), and blender::gpu::GLVaoCache::vao_get().
| void blender::gpu::GLVertArray::update_bindings | ( | const GLuint | vao, |
| uint | v_first, | ||
| const GPUVertFormat * | format, | ||
| const ShaderInterface * | interface ) |
Another version of update_bindings for Immediate mode.
Definition at line 120 of file gl_vertex_array.cc.
References blender::gpu::vbo_bind().