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

◆ set_gpu_compatible()

void MayaFlux::Nodes::Generator::Polynomial::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 361 of file Polynomial.hpp.

362 {
363 m_gpu_compatible = compatible;
364 if (compatible) {
366 } else {
367 m_node_capability &= ~NodeCapability::VECTOR;
368 }
369 }
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