Blender  V3.3
blender::gpu::GLVertArray Namespace Reference

Functions

Vertex Array Bindings
void update_bindings (const GLuint vao, const GPUBatch *batch, const ShaderInterface *interface, int base_instance)
 
void update_bindings (const GLuint vao, uint v_first, const GPUVertFormat *format, const ShaderInterface *interface)
 

Function Documentation

◆ update_bindings() [1/2]

void blender::gpu::GLVertArray::update_bindings ( const GLuint  vao,
const GPUBatch batch,
const ShaderInterface interface,
int  base_instance 
)

◆ update_bindings() [2/2]

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 141 of file gl_vertex_array.cc.

References blender::gpu::vbo_bind().