Inherits AZ::EBusTraits.
|
virtual void | SaveAtlasToFile (const AZStd::string &outputPath, AtlasCoordinateSets &handles, int width, int height)=0 |
| Saves a texture atlas to file.
|
|
virtual TextureAtlas * | LoadAtlas (const AZStd::string &filePath)=0 |
| Tells the TextureAtlas system to load an Atlas and return a pointer for the atlas.
|
|
virtual void | UnloadAtlas (TextureAtlas *atlas)=0 |
| Tells the TextureAtlas system to unload an Atlas.
|
|
virtual TextureAtlas * | FindAtlasContainingImage (const AZStd::string &filePath)=0 |
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
|
◆ FindAtlasContainingImage()
virtual TextureAtlas * TextureAtlasNamespace::TextureAtlasRequests::FindAtlasContainingImage |
( |
const AZStd::string & |
filePath | ) |
|
|
pure virtual |
Returns a pointer to the first Atlas that contains the image, or nullptr if no atlas contains it. Does not add a reference, use the notification bus to know when to unload
The documentation for this class was generated from the following file:
- Gems/TextureAtlas/Code/Include/TextureAtlas/TextureAtlasBus.h