textureAtlas api.
More...
#include <texture.h>
textureAtlas api.
- See also
- texture
- Note
- see specific platform implementation for explenation with functions
◆ ~textureAtlas()
| virtual luna::renderer::textureAtlas::~textureAtlas |
( |
| ) |
|
|
virtualdefault |
◆ addTile() [1/2]
| virtual glm::vec2 luna::renderer::textureAtlas::addTile |
( |
const glm::vec2 & |
dimensions | ) |
|
|
pure virtual |
◆ addTile() [2/2]
| virtual glm::vec2 luna::renderer::textureAtlas::addTile |
( |
const uint32_t & |
width, |
|
|
const uint32_t & |
height |
|
) |
| |
|
pure virtual |
◆ getTextureUv()
| virtual glm::vec2 luna::renderer::textureAtlas::getTextureUv |
( |
const glm::vec2 & |
textureindex | ) |
|
|
pure virtual |
◆ getTileDimensions()
| virtual glm::vec2 luna::renderer::textureAtlas::getTileDimensions |
( |
const glm::vec2 & |
textureindex | ) |
|
|
pure virtual |
◆ getTileHeight() [1/2]
| virtual uint32_t luna::renderer::textureAtlas::getTileHeight |
( |
| ) |
|
|
pure virtual |
◆ getTileHeight() [2/2]
| virtual uint32_t luna::renderer::textureAtlas::getTileHeight |
( |
const uint16_t & |
xIndex, |
|
|
const uint16_t & |
yIndex |
|
) |
| |
|
pure virtual |
◆ getTileWidth() [1/2]
| virtual uint32_t luna::renderer::textureAtlas::getTileWidth |
( |
| ) |
|
|
pure virtual |
◆ getTileWidth() [2/2]
| virtual uint32_t luna::renderer::textureAtlas::getTileWidth |
( |
const uint16_t & |
xIndex, |
|
|
const uint16_t & |
yIndex |
|
) |
| |
|
pure virtual |
◆ tileCustomTexCoords
| std::vector<std::vector<glm::vec2> > luna::renderer::textureAtlas::tileCustomTexCoords |
|
private |
◆ tileHeight
| uint32_t luna::renderer::textureAtlas::tileHeight |
|
private |
◆ tileWidth
| uint32_t luna::renderer::textureAtlas::tileWidth |
|
private |
The documentation for this class was generated from the following file:
- C:/Users/robbe/source/repos/lolrobbe2/luna/luna/src/core/rendering/texture.h