Open 3D Engine Atom Gem API Reference 26.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::BufferDeviceMaskRequest Struct Reference

A structure used as an argument to BufferPool::UpdateBufferDeviceMask. More...

#include <BufferPool.h>

Inherited by AZ::RHI::BufferInitRequest.

Public Member Functions

 BufferDeviceMaskRequest (Buffer &buffer, MultiDevice::DeviceMask deviceMask=MultiDevice::AllDevices, const void *initialData=nullptr)
 

Public Attributes

Bufferm_buffer = nullptr
 The buffer to update the device mask of and (de)allocate device buffers.
 
MultiDevice::DeviceMask m_deviceMask = MultiDevice::AllDevices
 
const void * m_initialData = nullptr
 [Optional] Initial data used to initialize new device buffers with.
 

Detailed Description

A structure used as an argument to BufferPool::UpdateBufferDeviceMask.

Member Data Documentation

◆ m_deviceMask

MultiDevice::DeviceMask AZ::RHI::BufferDeviceMaskRequest::m_deviceMask = MultiDevice::AllDevices

The new device mask used for the buffer. Note: Only devices in the mask of the buffer pool will be considered.


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