#include <C4Texture.h>
Public Member Functions | |
C4Texture () | |
~C4Texture () | |
void | SetAverageColor (uint32_t Color) |
uint32_t | GetAverageColor () const |
void | SetMaterialShape (class C4TextureShape *s) |
class C4TextureShape * | GetMaterialShape () const |
Public Attributes | |
C4Surface * | Surface32 |
Protected Attributes | |
StdStrBuf | Name |
uint32_t | AvgColor |
std::unique_ptr< class C4TextureShape > | material_shape |
C4Texture * | Next |
Friends | |
class | C4TextureMap |
Definition at line 29 of file C4Texture.h.
C4Texture::C4Texture | ( | ) |
Definition at line 29 of file C4Texture.cpp.
C4Texture::~C4Texture | ( | ) |
|
inline |
|
inline |
Definition at line 40 of file C4Texture.h.
References material_shape.
Referenced by C4Landscape::P::ChunkOZoom(), C4Landscape::DrawBox(), C4Landscape::DrawBrush(), and C4Landscape::DrawLine().
|
inline |
Definition at line 37 of file C4Texture.h.
References AvgColor.
Referenced by C4TextureMap::AddTexture().
|
inline |
Definition at line 39 of file C4Texture.h.
References material_shape, and s.
Referenced by C4TextureMap::LoadTextures().
|
friend |
Definition at line 31 of file C4Texture.h.
|
protected |
Definition at line 43 of file C4Texture.h.
Referenced by C4Texture(), GetAverageColor(), and SetAverageColor().
|
protected |
Definition at line 44 of file C4Texture.h.
Referenced by GetMaterialShape(), and SetMaterialShape().
|
protected |
Definition at line 42 of file C4Texture.h.
Referenced by C4TextureMap::AddTexture(), C4TextureMap::CheckTexture(), C4TextureMap::GetTexture(), and C4TextureMap::GetTextureIndex().
|
protected |
Definition at line 45 of file C4Texture.h.
Referenced by C4TextureMap::AddTexture(), C4Texture(), C4TextureMap::CheckTexture(), C4TextureMap::Clear(), C4TextureMap::GetTexture(), and C4TextureMap::GetTextureIndex().
C4Surface* C4Texture::Surface32 |
Definition at line 35 of file C4Texture.h.
Referenced by C4TextureMap::AddTexture(), C4Texture(), C4MaterialMap::CrossMapMaterials(), C4TexMapEntry::Init(), C4TextureMap::LoadTextures(), and ~C4Texture().