Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/buffers.h
| Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | |||||
| class BufferParams : public Node { | class BufferParams : public Node { | ||||
| public: | public: | ||||
| NODE_DECLARE | NODE_DECLARE | ||||
| /* Width/height of the physical buffer. */ | /* Width/height of the physical buffer. */ | ||||
| int width = 0; | int width = 0; | ||||
| int height = 0; | int height = 0; | ||||
| /* Windows defines which part of the buffers is visible. The part outside of the window is | |||||
| * considered an "overscan". | |||||
| * | |||||
| * Window X and Y are relative to the position of the buffer in the full buffer. */ | |||||
| int window_x = 0; | |||||
| int window_y = 0; | |||||
| int window_width = 0; | |||||
| int window_height = 0; | |||||
| /* Offset into and width/height of the full buffer. */ | /* Offset into and width/height of the full buffer. */ | ||||
| int full_x = 0; | int full_x = 0; | ||||
| int full_y = 0; | int full_y = 0; | ||||
| int full_width = 0; | int full_width = 0; | ||||
| int full_height = 0; | int full_height = 0; | ||||
| /* Runtime fields, only valid after `update_passes()` or `update_offset_stride()`. */ | /* Runtime fields, only valid after `update_passes()` or `update_offset_stride()`. */ | ||||
| int offset = -1, stride = -1; | int offset = -1, stride = -1; | ||||
| ▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines | |||||