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

#include <StreamingImagePoolAssetCreator.h>

Inherits AZ::RPI::AssetCreator< StreamingImagePoolAsset >.

Public Member Functions

void Begin (const Data::AssetId &assetId)
 
void SetPoolDescriptor (AZStd::unique_ptr< RHI::StreamingImagePoolDescriptor > &&descriptor)
 Assigns the descriptor used to initialize the RHI streaming image pool.
 
void SetPoolName (AZStd::string_view poolName)
 Assigns the name of the pool.
 
bool End (Data::Asset< StreamingImagePoolAsset > &result)
 
- Public Member Functions inherited from AZ::RPI::AssetCreator< StreamingImagePoolAsset >
void SetElevateWarnings (bool elevated)
 When true, treat all subsequent warnings as errors. Any warnings already reported will not be elevated.
 
bool GetElevateWarnings () const
 
int GetErrorCount () const
 
int GetWarningCount () const
 
bool IsFailed () const
 
void ReportError (const char *format, Args... args)
 
void ReportWarning (const char *format, Args... args)
 

Additional Inherited Members

- Protected Member Functions inherited from AZ::RPI::AssetCreator< StreamingImagePoolAsset >
 AZ_DISABLE_COPY_MOVE (AssetCreator)
 
void BeginCommon (const Data::AssetId &assetId)
 
bool EndCommon (Data::Asset< StreamingImagePoolAsset > &result)
 
bool ValidateIsReady ()
 
bool ValidateNotNull (void *pointer, const char *name)
 Reports errors when a pointer is null.
 
bool ValidateNotNull (const AZ::Data::Asset< AZ::Data::AssetData > &pointer, const char *name)
 
bool ValidateNotNull (const AZStd::intrusive_ptr< T > &pointer, const char *name)
 
- Protected Attributes inherited from AZ::RPI::AssetCreator< StreamingImagePoolAsset >
Data::Asset< StreamingImagePoolAssetm_asset
 This is the asset that subclass creators will build.
 

Detailed Description

Constructs an instance of an StreamingImagePoolAsset. (Note this class generally follows the builder design pattern, but is called a "creator" rather than a "builder" to avoid confusion with the AssetBuilderSDK).

Member Function Documentation

◆ Begin()

void AZ::RPI::StreamingImagePoolAssetCreator::Begin ( const Data::AssetId &  assetId)

Begins construction of a new streaming image pool asset instance. Resets the builder to a fresh state. assetId the unique id to use when creating the asset.

◆ End()

bool AZ::RPI::StreamingImagePoolAssetCreator::End ( Data::Asset< StreamingImagePoolAsset > &  result)

Finalizes and assigns ownership of the asset to result, if successful. Otherwise false is returned and result is left untouched.


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