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}") | |
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. | |
|
overridevirtual |
Retrieve a coordinate set from the Atlas by its handle.
Implements TextureAtlasNamespace::TextureAtlas.
|
inlineoverridevirtual |
Returns the height of the atlas.
Implements TextureAtlasNamespace::TextureAtlas.
|
overridevirtual |
Returns the image linked to this atlas.
Implements TextureAtlasNamespace::TextureAtlas.
|
inlineoverridevirtual |
Returns the width of the atlas.
Implements TextureAtlasNamespace::TextureAtlas.
|
overridevirtual |
Links this atlas to an image pointer.
Implements TextureAtlasNamespace::TextureAtlas.