struct TSpriteTextureCreateInformation

template<bool IsRenderProxy>

Templated base class used for both main and render thread SpriteTextureCreateInformation counterparts.

Public

Constructors

TSpriteTextureCreateInformation<IsRenderProxy>

TSpriteTextureCreateInformation<IsRenderProxy>() = default

TSpriteTextureCreateInformation<IsRenderProxy>

TSpriteTextureCreateInformation<IsRenderProxy>(const SpriteImageInformation &spriteImageInformation, const TextureType &atlasTexture)

Fields

AtlasTexture

TextureType AtlasTexture

Texture used as the atlas.

UVRange

Area2 UVRange

Range in the atlas texture that the image is to be read from, in [0, 1] range.

AnimationPlayback

SpriteAnimationPlayback AnimationPlayback

Determines if animation is enabled and how should it play.

Animation

Describes the sprite sheet grid used for animation, if animation is used.