Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/buffers.h
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | public: | ||||
| /* offset into and width/height of the full buffer */ | /* offset into and width/height of the full buffer */ | ||||
| int full_x; | int full_x; | ||||
| int full_y; | int full_y; | ||||
| int full_width; | int full_width; | ||||
| int full_height; | int full_height; | ||||
| /* passes */ | /* passes */ | ||||
| array<Pass> passes; | array<Pass> passes; | ||||
| bool denoising_data_pass; | |||||
| /* If only some light path types should be denoised, an additional pass is needed. */ | |||||
| bool denoising_clean_pass; | |||||
| /* functions */ | /* functions */ | ||||
| BufferParams(); | BufferParams(); | ||||
| void get_offset_stride(int& offset, int& stride); | void get_offset_stride(int& offset, int& stride); | ||||
| bool modified(const BufferParams& params); | bool modified(const BufferParams& params); | ||||
| void add_pass(PassType type); | void add_pass(PassType type); | ||||
| int get_passes_size(); | int get_passes_size(); | ||||
| int get_denoising_offset(); | |||||
| }; | }; | ||||
| /* Render Buffers */ | /* Render Buffers */ | ||||
| class RenderBuffers { | class RenderBuffers { | ||||
| public: | public: | ||||
| /* buffer parameters */ | /* buffer parameters */ | ||||
| BufferParams params; | BufferParams params; | ||||
| ▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines | |||||