MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
SpatialExport.cpp File Reference
+ Include dependency graph for SpatialExport.cpp:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::IO
 

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.