10class TransferProcessor;
58 const std::shared_ptr<Buffer>& buffer,
70 const std::shared_ptr<Buffer>& buffer,
72 const std::shared_ptr<Buffer>& transfer_target,
88 const std::shared_ptr<AudioBuffer>& audio,
92 const std::shared_ptr<VKBuffer>& vk,
96 const std::shared_ptr<Buffer>& source,
98 const std::shared_ptr<Buffer>& target,
102 const std::shared_ptr<Buffer>& source,
104 const std::shared_ptr<Buffer>& target,
static MayaFlux::Nodes::ProcessingToken token
static bool has_frame_rate(ProcessingToken token)
static bool can_transfer(const std::shared_ptr< Buffer > &source, ProcessingToken src_token, const std::shared_ptr< Buffer > &target, ProcessingToken tgt_token)
static bool is_valid_vk_token(ProcessingToken token)
static bool is_valid_audio_token(ProcessingToken token)
static DistributionDecision decide_transfer(const std::shared_ptr< Buffer > &source, ProcessingToken src_token, const std::shared_ptr< Buffer > &target, ProcessingToken tgt_token)
static DistributionDecision distribute(const std::shared_ptr< Buffer > &buffer, ProcessingToken requested_token)
Distribute a buffer based on its type and requested token.
static bool has_gpu(ProcessingToken token)
static DistributionDecision decide_vk_buffer(const std::shared_ptr< VKBuffer > &vk, ProcessingToken token)
static DistributionDecision distribute_with_transfer(const std::shared_ptr< Buffer > &buffer, ProcessingToken requested_token, const std::shared_ptr< Buffer > &transfer_target, ProcessingToken transfer_target_token)
Distribute with optional transfer target (for cross-domain routing)
static DistributionDecision decide_audio_buffer(const std::shared_ptr< AudioBuffer > &audio, ProcessingToken token)
static bool has_cpu(ProcessingToken token)
static bool has_sample_rate(ProcessingToken token)
Determines routing for buffers based on type + token combination.
ProcessingToken
Bitfield enum defining processing characteristics and backend requirements for buffer operations.
DistributionResult
Outcome of token distribution decision.
ProcessingToken transfer_direction
std::shared_ptr< TransferProcessor > transfer_processor
DistributionResult result
Routing decision for a buffer with a given token.