Unigine::ImportTexture Class
Header: | #include <UnigineImport.h> |
ImportTexture Class
Members
void setData ( void * data ) #
Sets a new metadata of the imported texture.
Arguments
- void * data - The texture metadata.
void * getData() const#
Returns the current metadata of the imported texture.
Return value
Current texture metadata.void setFilepath ( const char * filepath ) #
Sets a new path to the output texture file.
Arguments
- const char * filepath - The output texture file path.
const char * getFilepath() const#
Returns the current path to the output texture file.
Return value
Current output texture file path.void setOriginalFilepath ( const char * filepath ) #
Sets a new path to the original texture file.
Arguments
- const char * filepath - The original texture file path.
const char * getOriginalFilepath() const#
Returns the current path to the original texture file.
Return value
Current original texture file path.void setPreset ( const char * preset ) #
Sets a new texture preset to be used for the imported texture.
Arguments
- const char * preset - The texture preset to be used.
const char * getPreset() const#
Returns the current texture preset to be used for the imported texture.
Return value
Current texture preset to be used.ImportTexture ( ) #
Constructor. Creates an empty ImportTexture instance.Last update:
28.11.2022
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter