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

◆ set_axes()

bool MayaFlux::Kakshya::TensorInsertion::set_axes ( std::vector< DataDimension > axes)

Attach per-axis roles and names; the count must equal the rank.

Definition at line 138 of file TensorInsertion.cpp.

139{
140 if (axes.size() != m_tensor->m_spec.shape.size())
141 return false;
142 m_tensor->m_spec.axes = std::move(axes);
143 return true;
144}
SamplerConfig axes(AddressMode u, AddressMode v, FilterMode filter=FilterMode::LINEAR, AddressMode w=AddressMode::CLAMP_TO_EDGE)
Each axis addressed on its own, for surfaces that wrap one way and stop the other.

References m_tensor.