Fermat
|
Public Types | |
enum | Orientation { X_UP, Y_UP, Z_UP } |
![]() | |
typedef std::shared_ptr< MipMapStorage< HOST_BUFFER > > | HostMipMapStoragePtr |
typedef std::shared_ptr< MipMapStorage< CUDA_BUFFER > > | DeviceMipMapStoragePtr |
Public Methods | |
void | init (int argc, char **argv) |
![]() | |
RenderingContext () | |
void | init (int argc, char **argv) |
void | render (const uint32 instance) |
void | clear () |
void | multiply_frame (const float scale) |
void | rescale_frame (const uint32 instance) |
void | clamp_frame (const float max_value) |
void | update_variances (const uint32 instance) |
void | update_model () |
void | filter (const uint32 instance) |
uint2 | res () const |
RenderingContextView | view (const uint32 instance) |
Camera & | get_camera () |
uint32 | get_directional_light_count () const |
const DirectionalLight * | get_host_directional_lights () const |
const DirectionalLight * | get_device_directional_lights () const |
void | set_directional_light_count (const uint32 count) |
void | set_directional_light (const uint32 i, const DirectionalLight &light) |
uint2 | get_res () const |
float | get_aspect_ratio () const |
void | set_aspect_ratio (const float v) |
float | get_exposure () const |
void | set_exposure (const float v) |
float | get_gamma () const |
void | set_gamma (const float v) |
ShadingMode & | get_shading_mode () |
FBufferStorage & | get_frame_buffer () |
uint8 * | get_device_rgba_buffer () |
uint32 | get_texture_count () const |
HostMipMapStoragePtr * | get_host_textures () |
DeviceMipMapStoragePtr * | get_device_textures () |
MipMapView * | get_host_texture_views () |
MipMapView * | get_device_texture_views () |
MeshStorage & | get_host_mesh () |
DeviceMeshStorage & | get_device_mesh () |
MeshLightsStorage & | get_mesh_lights () |
RTContext * | get_rt_context () const |
RendererInterface * | get_renderer () const |
TiledSequence & | get_sequence () |
uint32 | register_renderer (const char *name, RendererFactoryFunction factory) |
cugar::Bbox3f | compute_bbox () |
Public Members | |
GLuint | m_texture |
Camera | m_camera_o |
DirectionalLight | m_light_o |
int2 | m_mouse |
float | m_mouse_depth |
bool | m_dollying |
bool | m_panning |
bool | m_walking |
bool | m_zooming |
bool | m_moving_selection |
bool | m_light_rotation |
Orientation | m_orientation |
bool | m_dirty |
bool | m_dirty_geo |
uint32 | m_instance |
uint32 | m_selected_group |
char | m_output_name [1024] |
FILE * | m_ffmpeg |
FILE * | m_camera_path |
bool | m_record |
bool | m_playback |
bool | m_accumulation |
cugar::Mutex | mutex |