Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
GuillotineTextureAtlas.hpp
1
// Copyright (C) 2017 Jérôme Leclercq
2
// This file is part of the "Nazara Engine - Graphics module"
3
// For conditions of distribution and use, see copyright notice in Config.hpp
4
5
#pragma once
6
7
#ifndef NAZARA_GUILLOTINETEXTUREATLAS_HPP
8
#define NAZARA_GUILLOTINETEXTUREATLAS_HPP
9
10
#include <Nazara/Prerequesites.hpp>
11
#include <Nazara/Graphics/Config.hpp>
12
#include <Nazara/Utility/GuillotineImageAtlas.hpp>
13
14
namespace
Nz
15
{
16
class
NAZARA_GRAPHICS_API
GuillotineTextureAtlas
:
public
GuillotineImageAtlas
17
{
18
public
:
19
GuillotineTextureAtlas
() =
default
;
20
~
GuillotineTextureAtlas
() =
default
;
21
22
UInt32 GetStorage()
const override
;
23
24
private
:
25
AbstractImage* ResizeImage(AbstractImage* oldImage,
const
Vector2ui
& size)
const override
;
26
};
27
}
28
29
#endif // NAZARA_GUILLOTINETEXTUREATLAS_HPP
Nz
TODO: Inherit SoundEmitter from Node.
Definition:
Algorithm.hpp:12
Nz::GuillotineTextureAtlas
Graphics class that represents an atlas texture for guillotine.
Definition:
GuillotineTextureAtlas.hpp:16
Nz::Vector2< unsigned int >
include
Nazara
Graphics
GuillotineTextureAtlas.hpp
Generated by
1.8.13