struct
#include <Jazz2/Resources.h>
GenericGraphicResource Shared graphic resource.
Constructors, destructors, conversion operators
- GenericGraphicResource() noexcept
Public variables
- GenericGraphicResourceFlags Flags
- Resource flags.
-
std::
unique_ptr<Texture> TextureDiffuse - Diffuse texture.
-
std::
unique_ptr<uint8_t[]> Mask - Collision mask.
- Vector2i FrameDimensions
- Frame dimensions.
- Vector2i FrameConfiguration
- Frame configuration.
- float AnimDuration
- Animation duration (in normalized frames)
-
std::
int32_t FrameCount - Frame count.
- Vector2i Hotspot
- Hotspot.
- Vector2i Coldspot
- Optional coldspot.
- Vector2i Gunspot
- Optional gunspot.