32 #include <framebuffer.h> 37 #include <mesh_lights.h> 38 #include <mesh/MeshStorage.h> 40 #include <renderer_view.h> 41 #include <renderer_interface.h> 42 #include <tiled_sequence.h> 54 typedef std::shared_ptr< MipMapStorage<HOST_BUFFER> > HostMipMapStoragePtr;
55 typedef std::shared_ptr< MipMapStorage<CUDA_BUFFER> > DeviceMipMapStoragePtr;
63 void init(
int argc,
char** argv);
68 void render(
const uint32 instance);
76 void multiply_frame(
const float scale);
81 void rescale_frame(
const uint32 instance);
86 void clamp_frame(
const float max_value);
91 void update_variances(
const uint32 instance);
100 void filter(
const uint32 instance);
116 uint32 get_directional_light_count()
const;
128 void set_directional_light_count(
const uint32 count);
136 uint2 get_res()
const;
140 float get_aspect_ratio()
const;
144 void set_aspect_ratio(
const float v);
148 float get_exposure()
const;
152 void set_exposure(
const float v);
156 float get_gamma()
const;
160 void set_gamma(
const float v);
164 ShadingMode& get_shading_mode();
172 uint8* get_device_rgba_buffer();
176 uint32 get_texture_count()
const;
180 HostMipMapStoragePtr* get_host_textures();
184 DeviceMipMapStoragePtr* get_device_textures();
220 uint32 register_renderer(
const char* name, RendererFactoryFunction factory);
Definition: framebuffer.h:295
Definition: renderer_impl.h:53
Definition: mesh_lights.h:35
Definition: MeshStorage.h:44
Definition: tiled_sequence.h:131
Definition: renderer_interface.h:45
Definition: renderer.h:52
Definition: texture_view.h:73
Definition: renderer_view.h:80
CUGAR_HOST_DEVICE Matrix< T, 4, 4 > scale(const Vector< T, 3 > &vec)
build a 3d scaling matrix
Definition: matrix_inline.h:539
Definition: MeshStorage.h:273