MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
SpatialExport.hpp File Reference
#include "SpatialCache.hpp"
Include dependency graph for SpatialExport.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
namespace  MayaFlux::Buffers
namespace  MayaFlux::IO
namespace  MayaFlux::Nodes
 Contains the node-based computational processing system components.
namespace  MayaFlux::Nodes::Network

Functions

bool MayaFlux::IO::relaxation_grid_positions (const std::shared_ptr< Buffers::RelaxationGridBuffer > &grid, float extent, std::vector< glm::vec3 > &positions, std::vector< uint64_t > &ids)
 Generate the fixed grid positions and cell ids a RelaxationGridBuffer's cells occupy, for feeding SpatialCache::write() with PrimitiveTopology::POINT_LIST.
bool MayaFlux::IO::write_network_geometry_buffer_sample (SpatialCache &cache, const std::string &stream_name, const std::shared_ptr< Buffers::NetworkGeometryBuffer > &buffer)
 Pack a NetworkGeometryBuffer's driving network into one or more SpatialCache streams, choosing CPU or GPU readback depending on whether the network's CPU-side vertex state is still authoritative.
bool MayaFlux::IO::write_operator_sample (SpatialCache &cache, const std::string &stream_name, const Nodes::Network::GraphicsOperator *op)
 Pack one GraphicsOperator's current vertex state into a SpatialCache stream, as a Points or Curves sample depending on what the operator declares.