Skip to content

Add RHI::StagingBuffer by splitting its functionality from RHI::Buffer and RHI::Texture classes #156

Description

@egorodet

Current implementation of RHI::Buffer and RHI::Texture classes incapsulates staging buffer functionality required for transferring data from CPU to GPU on NUMA systems. It would be more flexible to split this functionality to so called RHI::StagingBuffer used specifically as an intermediate CPU & GPU accessible data storage used for transferring data to GPU dedicated resources, like RHI::Buffer and RHI::Texture. RHI::StagingBuffer should be derived from RHI::Buffer and extend it with logic for storing intermediate data of multiple GPU resources intended for initialization using RHI::TransferCommandList.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrefactoringCode refactoring without adding new functionality
No fields configured for Feature.

Projects

Status
No status

Relationships

None yet

Development

No branches or pull requests

Issue actions