Open 3D Engine TextureAtlas 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.
TextureAtlasNamespace::TextureAtlasSystemComponent Class Reference

Inherits AZ::Component, TextureAtlasRequestBus::Handler, and AzFramework::AssetCatalogEventBus::Handler.

Classes

struct  AtlasInfo
 A struct that aids in the management of texture atlases. More...
 

Public Member Functions

 AZ_COMPONENT (TextureAtlasSystemComponent, "{436E8E5A-76CA-458D-8DAD-835C30D8C41B}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Protected Member Functions

void SaveAtlasToFile (const AZStd::string &outputPath, AtlasCoordinateSets &handles, int width, int height) override
 Saves a texture atlas to file.
 
TextureAtlasLoadAtlas (const AZStd::string &filePath) override
 Tells the TextureAtlas system to load an Atlas and return a pointer for the atlas.
 
TextureAtlasFindAtlasContainingImage (const AZStd::string &filePath) override
 Returns a pointer to the first Atlas that contains the image, or nullptr if no atlas contains it.
 
void UnloadAtlas (TextureAtlas *atlas) override
 Tells the TextureAtlas system to unload an Atlas.
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
void OnCatalogAssetChanged (const AZ::Data::AssetId &assetId) override
 

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