Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::DirectUploadData Class Reference

#include <DirectUploadData.hpp>

Inheritance diagram for castor3d::DirectUploadData:
Inheritance graph
[legend]
Collaboration diagram for castor3d::DirectUploadData:
Collaboration graph
[legend]

Public Member Functions

C3D_API DirectUploadData (RenderDevice const &device, castor::String debugName, ashes::CommandBuffer const &commandBuffer)
 
C3D_API DirectUploadData (RenderDevice const &device, castor::String debugName, ashes::CommandPool const &commandPool)
 
- Public Member Functions inherited from castor3d::UploadData
 UploadData (UploadData const &)=delete
 
 UploadData (UploadData &&) noexcept=delete
 
UploadDataoperator= (UploadData const &)=delete
 
UploadDataoperator= (UploadData &&) noexcept=delete
 
virtual C3D_API ~UploadData () noexcept=default
 
C3D_API void begin ()
 
C3D_API void pushUpload (void const *srcData, VkDeviceSize srcSize, ashes::BufferBase const &dstBuffer, VkDeviceSize dstOffset, VkAccessFlags dstAccessFlags, VkPipelineStageFlags dstPipelineFlags)
 
C3D_API void pushUpload (void const *srcData, VkDeviceSize srcSize, ashes::Image const &dstImage, castor::ImageLayout dstLayout, VkImageSubresourceRange dstRange, VkImageLayout dstImageLayout, VkPipelineStageFlags dstPipelineFlags)
 
C3D_API void process ()
 
C3D_API SemaphoreUsed end (ashes::Queue const &queue, ashes::Fence const *fence=nullptr, castor::Milliseconds timeout=castor::Milliseconds{ ashes::MaxTimeout })
 
void pushUpload (castor::ByteArray const &srcData, ashes::BufferBase const &dstBuffer, VkDeviceSize dstOffset, VkAccessFlags dstAccessFlags, VkPipelineStageFlags dstPipelineFlags)
 
void pushUpload (castor::ByteArray const &srcData, ashes::Image const &dstImage, castor::ImageLayout dstLayout, VkImageSubresourceRange dstRange, VkImageLayout dstImageLayout, VkPipelineStageFlags dstPipelineFlags)
 
void pushUpload (castor::ByteArrayView const &srcData, ashes::BufferBase const &dstBuffer, VkDeviceSize dstOffset, VkAccessFlags dstAccessFlags, VkPipelineStageFlags dstPipelineFlags)
 
void pushUpload (castor::ByteArrayView const &srcData, ashes::Image const &dstImage, castor::ImageLayout dstLayout, VkImageSubresourceRange dstRange, VkImageLayout dstImageLayout, VkPipelineStageFlags dstPipelineFlags)
 
ashes::CommandBuffer const & getCommandBuffer () const noexcept
 
RenderDevice const & getDevice () const noexcept
 
castor::String const & getName () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from castor3d::UploadData
C3D_API UploadData (RenderDevice const &device, castor::String debugName, ashes::CommandBuffer const *commandBuffer)
 
C3D_API bool doCopyData (void const *srcData, VkDeviceSize size, ashes::BufferBase const &dstBuffer, VkDeviceSize dstOffset) const
 
C3D_API void doUploadBuffer (BufferDataRange const &data, ashes::BufferBase const *srcBuffer, VkDeviceSize srcOffset) const
 
C3D_API void doUploadImage (ImageDataRange &data, ashes::BufferBase const &srcBuffer, VkDeviceSize srcOffset) const
 
- Protected Attributes inherited from castor3d::UploadData
RenderDevice const & m_device
 
castor::String m_debugName
 
ashes::CommandBuffer const * m_commandBuffer
 
castor::Vector< BufferDataRangem_pendingBuffers
 
castor::Vector< ImageDataRangem_pendingImages
 

Constructor & Destructor Documentation

◆ DirectUploadData() [1/2]

C3D_API castor3d::DirectUploadData::DirectUploadData ( RenderDevice const & device,
castor::String debugName,
ashes::CommandBuffer const & commandBuffer )

◆ DirectUploadData() [2/2]

C3D_API castor3d::DirectUploadData::DirectUploadData ( RenderDevice const & device,
castor::String debugName,
ashes::CommandPool const & commandPool )

The documentation for this class was generated from the following file: