Wayverb
|
#include <scene_buffers.h>
Public Member Functions | |
generic_scene_buffers (const cl::Context &context, const voxelised_scene_data< Vertex, Surface > &scene_data) | |
cl::Context | get_context () const |
const cl::Buffer & | get_voxel_index_buffer () const |
aabb | get_global_aabb () const |
cl_uint | get_side () const |
const cl::Buffer & | get_triangles_buffer () const |
const cl::Buffer & | get_vertices_buffer () const |
const cl::Buffer & | get_surfaces_buffer () const |
Provides a simple utility for loading voxelised scene data to the gpu in one go.