Open 3D Engine Atom Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <ImageAsset.h>
Inherits AssetData.
Inherited by AZ::RPI::AttachmentImageAsset, and AZ::RPI::StreamingImageAsset.
Public Member Functions | |
AZ_RTTI (ImageAsset,"{C53AB73A-5BC9-462D-805B-43BAFA8C8167}", Data::AssetData) | |
AZ_CLASS_ALLOCATOR (ImageAsset, AZ::SystemAllocator) | |
const RHI::ImageDescriptor & | GetImageDescriptor () const |
Returns the descriptor for the image. | |
const RHI::ImageViewDescriptor & | GetImageViewDescriptor () const |
Returns the default image view descriptor for the image. | |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Static Public Attributes | |
static const char * | DisplayName |
static const char * | Group |
static const char * | Extension |
Protected Member Functions | |
void | SetReady () |
Protected Attributes | |
RHI::ImageDescriptor | m_imageDescriptor |
RHI::ImageViewDescriptor | m_imageViewDescriptor |
The base image asset class. Image assets are domain specific (e.g. streaming vs. attachments) so the details of how to source content for an image is defined by the specialized variant. The base class provides access to the RHI image and default image view.