Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_SetColorOperation.h
| Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | void setChannels(const float value[4]) | ||||
| copy_v4_v4(this->m_color, value); | copy_v4_v4(this->m_color, value); | ||||
| } | } | ||||
| /** | /** | ||||
| * The inner loop of this operation. | * The inner loop of this operation. | ||||
| */ | */ | ||||
| void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; | void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; | ||||
| void determineResolution(unsigned int resolution[2], | void determine_canvas(const rcti &preferred_area, rcti &r_area) override; | ||||
| unsigned int preferredResolution[2]) override; | |||||
| }; | }; | ||||
| } // namespace blender::compositor | } // namespace blender::compositor | ||||