MayaFlux 1.0.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 389 of file Polynomial.hpp.

390 {
391 Node::set_gpu_compatible(compatible);
392 if (compatible) {
394 } else {
395 m_node_capability &= ~NodeCapability::VECTOR;
396 }
397 }
uint8_t m_node_capability
Bitmask of capabilities declared by this node.
Definition Node.hpp:506
virtual void set_gpu_compatible(bool compatible)
Sets whether the node is compatible with GPU processing.
Definition Node.hpp:376
@ VECTOR
Context also implements GpuVectorData.
Definition NodeSpec.hpp:111