Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_uniform_buffer.cc
| Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | void GPU_uniformbuf_update(GPUUniformBuf *ubo, const void *data) | ||||
| unwrap(ubo)->update(data); | unwrap(ubo)->update(data); | ||||
| } | } | ||||
| void GPU_uniformbuf_bind(GPUUniformBuf *ubo, int slot) | void GPU_uniformbuf_bind(GPUUniformBuf *ubo, int slot) | ||||
| { | { | ||||
| unwrap(ubo)->bind(slot); | unwrap(ubo)->bind(slot); | ||||
| } | } | ||||
| void GPU_uniformbuf_bind_as_ssbo(GPUUniformBuf *ubo, int slot) | |||||
| { | |||||
| unwrap(ubo)->bind_as_ssbo(slot); | |||||
| } | |||||
| void GPU_uniformbuf_unbind(GPUUniformBuf *ubo) | void GPU_uniformbuf_unbind(GPUUniformBuf *ubo) | ||||
| { | { | ||||
| unwrap(ubo)->unbind(); | unwrap(ubo)->unbind(); | ||||
| } | } | ||||
| void GPU_uniformbuf_unbind_all() | void GPU_uniformbuf_unbind_all() | ||||
| { | { | ||||
| /* FIXME */ | /* FIXME */ | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||