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

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

#include <StreamingImagePool.h>

Public Attributes

ImageClass * m_image = nullptr
 The image with which to expand its mip chain.
 
AZStd::span< const StreamingImageMipSlicem_mipSlices
 
bool m_waitForUpload = false
 Whether the function need to wait until the upload is finished.
 
CompleteCallback m_completeCallback
 A function to call when the upload is complete. It will be called instantly if m_waitForUpload was set to true.
 

Detailed Description

template<typename ImageClass>
struct AZ::RHI::StreamingImageExpandRequestTemplate< ImageClass >

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

Member Data Documentation

◆ m_mipSlices

template<typename ImageClass >
AZStd::span<const StreamingImageMipSlice> AZ::RHI::StreamingImageExpandRequestTemplate< ImageClass >::m_mipSlices

A list of image mip slices used to expand the contents. The data must remain valid for the duration of the upload (until m_completeCallback is triggered).


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