MayaFlux 0.4.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 Node::set_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: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