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::StreamingImageDeviceMaskRequest Struct Reference

A structure used as an argument to StreamingImagePool::UpdateImageDeviceMask. More...

#include <StreamingImagePool.h>

Inherited by AZ::RHI::StreamingImageInitRequest.

Public Member Functions

 StreamingImageDeviceMaskRequest (Image &image, AZStd::span< const StreamingImageMipSlice > tailMipSlices, MultiDevice::DeviceMask deviceMask=MultiDevice::AllDevices)
 

Public Attributes

Imagem_image = nullptr
 The image to initialize.
 
AZStd::span< const StreamingImageMipSlicem_tailMipSlices
 
MultiDevice::DeviceMask m_deviceMask = MultiDevice::AllDevices
 

Detailed Description

A structure used as an argument to StreamingImagePool::UpdateImageDeviceMask.

Member Data Documentation

◆ m_deviceMask

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

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

◆ m_tailMipSlices

AZStd::span<const StreamingImageMipSlice> AZ::RHI::StreamingImageDeviceMaskRequest::m_tailMipSlices

An array of tail mip slices to upload. This must not be empty or the call will fail. This should only include the baseline set of mips necessary to render the image at its lowest resolution. The uploads is performed synchronously.


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