Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/buffers.h
| Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | public: | ||||
| bool get_pass_rect(PassType type, | bool get_pass_rect(PassType type, | ||||
| float exposure, | float exposure, | ||||
| int sample, | int sample, | ||||
| int components, | int components, | ||||
| float *pixels, | float *pixels, | ||||
| const string &name); | const string &name); | ||||
| bool get_denoising_pass_rect( | bool get_denoising_pass_rect( | ||||
| int offset, float exposure, int sample, int components, float *pixels); | int offset, float exposure, int sample, int components, float *pixels); | ||||
| bool set_pass_rect(PassType type, int components, float *pixels); | |||||
| }; | }; | ||||
| /* Display Buffer | /* Display Buffer | ||||
| * | * | ||||
| * The buffer used for drawing during render, filled by converting the render | * The buffer used for drawing during render, filled by converting the render | ||||
| * buffers to byte of half float storage */ | * buffers to byte of half float storage */ | ||||
| class DisplayBuffer { | class DisplayBuffer { | ||||
| Show All 22 Lines | public: | ||||
| bool draw_ready(); | bool draw_ready(); | ||||
| }; | }; | ||||
| /* Render Tile | /* Render Tile | ||||
| * Rendering task on a buffer */ | * Rendering task on a buffer */ | ||||
| class RenderTile { | class RenderTile { | ||||
| public: | public: | ||||
| typedef enum { PATH_TRACE, DENOISE } Task; | typedef enum { PATH_TRACE, BAKE, DENOISE } Task; | ||||
| Task task; | Task task; | ||||
| int x, y, w, h; | int x, y, w, h; | ||||
| int start_sample; | int start_sample; | ||||
| int num_samples; | int num_samples; | ||||
| int sample; | int sample; | ||||
| int resolution; | int resolution; | ||||
| int offset; | int offset; | ||||
| Show All 14 Lines | |||||