|
Open 3D Engine TextureAtlas 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.
|
Inherits TextureAtlasNamespace::TextureAtlas.
Public Member Functions | |
| AZ_CLASS_ALLOCATOR (TextureAtlasImpl, AZ::SystemAllocator) | |
| AZ_TYPE_INFO (TextureAtlasImpl,"{2CA51C61-1B5F-4480-A257-F28D8944AA35}") | |
| TextureAtlasImpl (AtlasCoordinateSets handles) | |
| AtlasCoordinates | GetAtlasCoordinates (const AZStd::string &handle) const override |
| Retrieve a coordinate set from the Atlas by its handle. | |
| void | SetTexture (AZ::Data::Instance< AZ::RPI::Image > image) override |
| Links this atlas to an image pointer. | |
|
AZ::Data::Instance < AZ::RPI::Image > | GetTexture () const override |
| Returns the image linked to this atlas. | |
| void | OverwriteMappings (TextureAtlasImpl *source) |
| Replaces the mappings of this Texture Atlas Object, with the source's mappings. | |
| int | GetWidth () const override |
| Returns the width of the atlas. | |
| void | SetWidth (int value) |
| Sets the width of the atlas. | |
| int | GetHeight () const override |
| Returns the height of the atlas. | |
| void | SetHeight (int value) |
| Sets the height of the atlas. | |
Public Member Functions inherited from TextureAtlasNamespace::TextureAtlas | |
| AZ_CLASS_ALLOCATOR (TextureAtlas, AZ::SystemAllocator) | |
| AZ_TYPE_INFO (TextureAtlas,"{56FF34CF-7C5B-4BBC-9E2B-AFCA1C6C7561}") | |