Assimp  v4.1. (December 2018)
Assimp::EmbedTexturesProcess Class Reference

Force embedding of textures (using the path = "*1" convention). More...

Inherits Assimp::BaseProcess.

Public Member Functions

 EmbedTexturesProcess ()
 The default class constructor. More...
 
virtual void Execute (aiScene *pScene)
 Overwritten,. More...
 
virtual bool IsActive (unsigned int pFlags) const
 Overwritten,. More...
 
virtual void SetupProperties (const Importer *pImp)
 Overwritten,. More...
 
virtual ~EmbedTexturesProcess ()
 The class destructor. More...
 
- Public Member Functions inherited from Assimp::BaseProcess
 BaseProcess () AI_NO_EXCEPT
 Constructor to be privately used by Importer. More...
 
void ExecuteOnScene (Importer *pImp)
 Executes the post processing step on the given imported data. More...
 
SharedPostProcessInfoGetSharedData ()
 Get the shared data that is assigned to the step. More...
 
virtual bool RequireVerboseFormat () const
 Check whether this step expects its input vertex data to be in verbose format. More...
 
void SetSharedData (SharedPostProcessInfo *sh)
 Assign a new SharedPostProcessInfo to the step. More...
 
virtual ~BaseProcess ()
 Destructor, private as well. More...
 

Additional Inherited Members

- Protected Attributes inherited from Assimp::BaseProcess
ProgressHandlerprogress
 Currently active progress handler. More...
 
SharedPostProcessInfoshared
 See the doc of #SharedPostProcessInfo for more details. More...
 

Detailed Description

Force embedding of textures (using the path = "*1" convention).

If a texture's file does not exist at the specified path (due, for instance, to an absolute path generated on another system), it will check if a file with the same name exists at the root folder of the imported model. And if so, it uses that.

Constructor & Destructor Documentation

◆ EmbedTexturesProcess()

EmbedTexturesProcess::EmbedTexturesProcess ( )

The default class constructor.

◆ ~EmbedTexturesProcess()

EmbedTexturesProcess::~EmbedTexturesProcess ( )
virtual

The class destructor.

Member Function Documentation

◆ Execute()

void EmbedTexturesProcess::Execute ( aiScene pScene)
virtual

Overwritten,.

See also
BaseProcess

Implements Assimp::BaseProcess.

◆ IsActive()

bool EmbedTexturesProcess::IsActive ( unsigned int  pFlags) const
virtual

Overwritten,.

See also
BaseProcess

Implements Assimp::BaseProcess.

◆ SetupProperties()

void EmbedTexturesProcess::SetupProperties ( const Importer pImp)
virtual

Overwritten,.

See also
BaseProcess

Reimplemented from Assimp::BaseProcess.


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