MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_gpu_compatible()

void MayaFlux::Nodes::Generator::Logic::set_gpu_compatible ( bool  compatible)
inlineoverridevirtual

Sets whether the node is compatible with GPU processing.

Parameters
compatibleTrue if the node supports GPU processing, false otherwise

Reimplemented from MayaFlux::Nodes::Node.

Definition at line 552 of file Logic.hpp.

553 {
554 m_gpu_compatible = compatible;
555 if (compatible) {
557 } else {
558 m_node_capability &= ~NodeCapability::VECTOR;
559 }
560 }
uint8_t m_node_capability
Bitmask of capabilities declared by this node.
Definition Node.hpp:433
bool m_gpu_compatible
Flag indicating if the node supports GPU processing This flag is set by derived classes to indicate w...
Definition Node.hpp:386
@ VECTOR
Context also implements GpuVectorData.
Definition NodeSpec.hpp:106