#include <TextureBuilder.h>
|
| | TextureBuilder (const SDLSurfacePtr &surface, TextureSampleMode sampleMode=LINEAR_CLAMP, bool generateMipmaps=false, bool potExtend=false, bool forceRGBA=true, bool compressTextures=true, bool anisoFiltering=true) |
| |
| | TextureBuilder (const std::string &filename, TextureSampleMode sampleMode=LINEAR_CLAMP, bool generateMipmaps=false, bool potExtend=false, bool forceRGBA=true, bool compressTextures=true, bool anisoFiltering=true, TextureType textureType=TEXTURE_2D, const size_t layers=1) |
| |
| | TextureBuilder (const std::vector< std::string > &filenames, TextureSampleMode sampleMode=LINEAR_CLAMP, bool generateMipmaps=false, bool potExtend=false, bool forceRGBA=true, bool compressTextures=true, bool anisoFiltering=true, TextureType textureType=TEXTURE_2D, const size_t layers=1) |
| |
| | ~TextureBuilder () |
| |
| const TextureDescriptor & | GetDescriptor () |
| |
| Texture * | GetOrCreateTexture (Renderer *r, const std::string &type) |
| |
◆ TextureBuilder() [1/3]
| Graphics::TextureBuilder::TextureBuilder |
( |
const SDLSurfacePtr & |
surface, |
|
|
TextureSampleMode |
sampleMode = LINEAR_CLAMP, |
|
|
bool |
generateMipmaps = false, |
|
|
bool |
potExtend = false, |
|
|
bool |
forceRGBA = true, |
|
|
bool |
compressTextures = true, |
|
|
bool |
anisoFiltering = true |
|
) |
| |
◆ TextureBuilder() [2/3]
| Graphics::TextureBuilder::TextureBuilder |
( |
const std::string & |
filename, |
|
|
TextureSampleMode |
sampleMode = LINEAR_CLAMP, |
|
|
bool |
generateMipmaps = false, |
|
|
bool |
potExtend = false, |
|
|
bool |
forceRGBA = true, |
|
|
bool |
compressTextures = true, |
|
|
bool |
anisoFiltering = true, |
|
|
TextureType |
textureType = TEXTURE_2D, |
|
|
const size_t |
layers = 1 |
|
) |
| |
◆ TextureBuilder() [3/3]
| Graphics::TextureBuilder::TextureBuilder |
( |
const std::vector< std::string > & |
filenames, |
|
|
TextureSampleMode |
sampleMode = LINEAR_CLAMP, |
|
|
bool |
generateMipmaps = false, |
|
|
bool |
potExtend = false, |
|
|
bool |
forceRGBA = true, |
|
|
bool |
compressTextures = true, |
|
|
bool |
anisoFiltering = true, |
|
|
TextureType |
textureType = TEXTURE_2D, |
|
|
const size_t |
layers = 1 |
|
) |
| |
◆ ~TextureBuilder()
| Graphics::TextureBuilder::~TextureBuilder |
( |
| ) |
|
◆ Array()
| static TextureBuilder Graphics::TextureBuilder::Array |
( |
const std::vector< std::string > & |
filenames, |
|
|
const size_t |
layers |
|
) |
| |
|
inlinestatic |
◆ Billboard()
| static TextureBuilder Graphics::TextureBuilder::Billboard |
( |
const std::string & |
filename | ) |
|
|
inlinestatic |
◆ Cube()
| static TextureBuilder Graphics::TextureBuilder::Cube |
( |
const std::string & |
filename | ) |
|
|
inlinestatic |
◆ Decal()
| static TextureBuilder Graphics::TextureBuilder::Decal |
( |
const std::string & |
filename | ) |
|
|
inlinestatic |
◆ GetDescriptor()
◆ GetOrCreateTexture()
| Texture * Graphics::TextureBuilder::GetOrCreateTexture |
( |
Renderer * |
r, |
|
|
const std::string & |
type |
|
) |
| |
|
inline |
◆ GetTransparentTexture()
◆ GetWhiteTexture()
◆ Init()
| void Graphics::TextureBuilder::Init |
( |
| ) |
|
|
static |
◆ LookUpTable()
| static TextureBuilder Graphics::TextureBuilder::LookUpTable |
( |
const std::string & |
filename | ) |
|
|
inlinestatic |
◆ Model()
| static TextureBuilder Graphics::TextureBuilder::Model |
( |
const std::string & |
filename | ) |
|
|
inlinestatic |
◆ Normal()
| static TextureBuilder Graphics::TextureBuilder::Normal |
( |
const std::string & |
filename | ) |
|
|
inlinestatic |
◆ Raw()
| static TextureBuilder Graphics::TextureBuilder::Raw |
( |
const std::string & |
filename | ) |
|
|
inlinestatic |
◆ UI()
| static TextureBuilder Graphics::TextureBuilder::UI |
( |
const std::string & |
filename | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: