Open 3D Engine Atom Gem API Reference 25.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::BufferStreamRequestTemplate< BufferClass, FenceClass > Struct Template Reference

A structure used as an argument to DeviceBufferPool::StreamBuffer. More...

#include <DeviceBufferPool.h>

Public Attributes

FenceClass * m_fenceToSignal = nullptr
 A fence to signal on completion of the upload operation.
 
BufferClass * m_buffer = nullptr
 The buffer instance to stream up to.
 
size_t m_byteOffset = 0
 The number of bytes offset from the base of the buffer to start the upload.
 
size_t m_byteCount = 0
 The number of bytes to upload beginning from m_byteOffset.
 
const void * m_sourceData = nullptr
 

Detailed Description

template<typename BufferClass, typename FenceClass>
struct AZ::RHI::BufferStreamRequestTemplate< BufferClass, FenceClass >

A structure used as an argument to DeviceBufferPool::StreamBuffer.

Member Data Documentation

◆ m_sourceData

template<typename BufferClass , typename FenceClass >
const void* AZ::RHI::BufferStreamRequestTemplate< BufferClass, FenceClass >::m_sourceData = nullptr

A pointer to the source data to upload. The source data must remain valid for the duration of the upload operation (i.e. until m_callbackFunction is invoked).


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