|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::TextureBindingsProcessor::bind_texture_node | ( | const std::string & | name, |
| const std::shared_ptr< Nodes::GpuSync::TextureNode > & | node, | ||
| const std::shared_ptr< VKBuffer > & | texture | ||
| ) |
Bind a texture node to a GPU texture buffer.
| name | Logical name for this binding |
| node | TextureNode to read pixels from |
| texture | GPU texture buffer to upload to |
If texture is device-local, a staging buffer is automatically created. If texture is host-visible, no staging is needed.
Definition at line 10 of file TextureBindingsProcessor.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Buffers::create_staging_buffer(), m_bindings, MF_DEBUG, and MayaFlux::Buffers::TextureBindingsProcessor::TextureBinding::node.
Here is the call graph for this function: