Wayverb
Main Page
Related Pages
Classes
Files
File List
mesh_setup_program.h
1
#pragma once
2
3
#include "waveguide/mesh_descriptor.h"
4
5
#include "core/cl/voxel_structs.h"
6
#include "core/program_wrapper.h"
7
8
namespace
wayverb
{
9
namespace
waveguide {
10
11
class
setup_program
final {
12
public
:
13
setup_program
(
const
core::compute_context
& cc);
14
15
auto
get_node_inside_kernel
()
const
{
16
return
wrapper_.get_kernel<cl::Buffer,
17
mesh_descriptor
,
18
cl::Buffer,
19
core::aabb
,
20
cl_uint,
21
cl::Buffer,
22
cl::Buffer
23
>(
"set_node_inside"
);
24
}
25
26
auto
get_node_boundary_kernel
()
const
{
27
return
wrapper_.get_kernel<cl::Buffer,
28
mesh_descriptor
29
>(
"set_node_boundary_type"
);
30
}
31
32
private
:
33
core::program_wrapper
wrapper_;
34
};
35
36
}
// namespace waveguide
37
}
// namespace wayverb
wayverb::core::aabb
Definition:
voxel_structs.h:9
wayverb::waveguide::setup_program::get_node_boundary_kernel
auto get_node_boundary_kernel() const
Definition:
mesh_setup_program.h:26
wayverb::core::program_wrapper
Definition:
program_wrapper.h:8
wayverb::waveguide::setup_program
Definition:
mesh_setup_program.h:11
wayverb
Definition:
capsule_base.h:9
wayverb::waveguide::setup_program::get_node_inside_kernel
auto get_node_inside_kernel() const
Definition:
mesh_setup_program.h:15
wayverb::core::compute_context
invariant: device is a valid device for the context
Definition:
common.h:13
wayverb::waveguide::mesh_descriptor
Definition:
mesh_descriptor.h:14
src
waveguide
include
waveguide
mesh_setup_program.h
Generated by
1.8.11