Cogs.Core
Public Member Functions | Private Attributes | List of all members
Cogs::Core::TextureGenerator Class Reference

Public Member Functions

 TextureGenerator (Context *context)
 
void cleanup ()
 
COGSCORE_DLL_API TextureHandle getTexture (ImageType type)
 
TextureHandle getTexture (ImageType type, ParsedValue parameters)
 
void getTexture (Texture *texture, const ImageDefinition &definition)
 

Private Attributes

Contextcontext
 
std::unique_ptr< ImageCachecache
 

Detailed Description

Definition at line 20 of file TextureGenerator.h.

Constructor & Destructor Documentation

◆ TextureGenerator()

Cogs::Core::TextureGenerator::TextureGenerator ( Context context)

Definition at line 658 of file TextureGenerator.cpp.

◆ ~TextureGenerator()

Cogs::Core::TextureGenerator::~TextureGenerator ( )

Definition at line 664 of file TextureGenerator.cpp.

Member Function Documentation

◆ cleanup()

void Cogs::Core::TextureGenerator::cleanup ( )

Definition at line 668 of file TextureGenerator.cpp.

◆ getTexture() [1/3]

Cogs::Core::TextureHandle Cogs::Core::TextureGenerator::getTexture ( ImageType  type)

Definition at line 675 of file TextureGenerator.cpp.

◆ getTexture() [2/3]

Cogs::Core::TextureHandle Cogs::Core::TextureGenerator::getTexture ( ImageType  type,
ParsedValue  parameters 
)

Definition at line 680 of file TextureGenerator.cpp.

◆ getTexture() [3/3]

void Cogs::Core::TextureGenerator::getTexture ( Texture texture,
const ImageDefinition definition 
)

Definition at line 715 of file TextureGenerator.cpp.

Member Data Documentation

◆ cache

std::unique_ptr<ImageCache> Cogs::Core::TextureGenerator::cache
private

Definition at line 35 of file TextureGenerator.h.

◆ context

Context* Cogs::Core::TextureGenerator::context
private

Definition at line 33 of file TextureGenerator.h.


The documentation for this class was generated from the following files: