Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/intern/COM_CompositorContext.h
| Show First 20 Lines • Show All 233 Lines • ▼ Show 20 Lines | public: | ||||
| /** | /** | ||||
| * \brief set has this system active openclDevices? | * \brief set has this system active openclDevices? | ||||
| */ | */ | ||||
| void setHasActiveOpenCLDevices(bool hasAvtiveOpenCLDevices) | void setHasActiveOpenCLDevices(bool hasAvtiveOpenCLDevices) | ||||
| { | { | ||||
| this->m_hasActiveOpenCLDevices = hasAvtiveOpenCLDevices; | this->m_hasActiveOpenCLDevices = hasAvtiveOpenCLDevices; | ||||
| } | } | ||||
| /** Whether it has a view with a specific name and not the default one. */ | |||||
| bool has_explicit_view() const | |||||
| { | |||||
| return m_viewName && m_viewName[0] != '\0'; | |||||
| } | |||||
| /** | /** | ||||
| * \brief get the active rendering view | * \brief get the active rendering view | ||||
| */ | */ | ||||
| const char *getViewName() const | const char *getViewName() const | ||||
| { | { | ||||
| return this->m_viewName; | return this->m_viewName; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||