Open 3D Engine TextureAtlas 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.
|
An abstract class that exposes atlas pointers to the rest of the codebase. More...
#include <TextureAtlas.h>
Inherited by TextureAtlasNamespace::TextureAtlasImpl.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (TextureAtlas, AZ::SystemAllocator) | |
AZ_TYPE_INFO (TextureAtlas, "{56FF34CF-7C5B-4BBC-9E2B-AFCA1C6C7561}") | |
virtual AtlasCoordinates | GetAtlasCoordinates (const AZStd::string &handle) const =0 |
Retrieve a coordinate set from the Atlas by its handle. | |
virtual void | SetTexture (AZ::Data::Instance< AZ::RPI::Image > image)=0 |
Links this atlas to an image pointer. | |
virtual AZ::Data::Instance< AZ::RPI::Image > | GetTexture () const =0 |
Returns the image linked to this atlas. | |
virtual int | GetWidth () const =0 |
Returns the width of the atlas. | |
virtual int | GetHeight () const =0 |
Returns the height of the atlas. | |
An abstract class that exposes atlas pointers to the rest of the codebase.