Blender V4.3
COM_CPUDevice.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "COM_Device.h"
8
9namespace blender::compositor {
10
16class CPUDevice : public Device {
17 public:
19
24 void execute(WorkPackage *work) override;
25
27 {
28 return thread_id_;
29 }
30
31 protected:
33};
34
35} // namespace blender::compositor
class representing a CPU device.
void execute(WorkPackage *work) override
execute a WorkPackage
Abstract class for device implementations to be used by the Compositor. devices are queried,...
Definition COM_Device.h:20
contains data about work that can be scheduled