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 552 of file Logic.hpp.

553 {
554 Node::set_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:457
virtual void set_gpu_compatible(bool compatible)
Sets whether the node is compatible with GPU processing.
Definition Node.hpp:332
@ VECTOR
Context also implements GpuVectorData.
Definition NodeSpec.hpp:106