MayaFlux 0.4.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 558 of file Logic.hpp.

559 {
560 Node::set_gpu_compatible(compatible);
561 if (compatible) {
563 } else {
564 m_node_capability &= ~NodeCapability::VECTOR;
565 }
566 }
uint8_t m_node_capability
Bitmask of capabilities declared by this node.
Definition Node.hpp:465
virtual void set_gpu_compatible(bool compatible)
Sets whether the node is compatible with GPU processing.
Definition Node.hpp:340
@ VECTOR
Context also implements GpuVectorData.
Definition NodeSpec.hpp:106