PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "txaFileFilter.h"
#include "palettizer.h"
#include "txaFile.h"
#include "textureImage.h"
#include "sourceTextureImage.h"
#include "texturePool.h"
#include "dconfig.h"
#include "configVariableFilename.h"
#include "virtualFileSystem.h"
#include "config_putil.h"
Go to the source code of this file.
Functions | |
Configure (config_txaFileFilter) | |
ConfigureFn (config_txaFileFilter) | |
NotifyCategoryDeclNoExport (txafile) | |
NotifyCategoryDef (txafile, "") | |
PT (Texture) TxaFileFilter | |
This method is called after each texture has been loaded from disk, via the TexturePool, for the first time. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file txaFileFilter.cxx.
PT | ( | Texture | ) |
This method is called after each texture has been loaded from disk, via the TexturePool, for the first time.
By the time this method is called, the Texture has already been fully read from disk. This method should return the Texture pointer that the TexturePool should actually return (usually it is the same as the pointer supplied).
Definition at line 48 of file txaFileFilter.cxx.
References Texture::get_alpha_fullpath, TextureImage::get_alpha_mode(), Texture::get_filename, Texture::get_fullpath, PNMImageHeader::get_maxval, ImageFile::get_num_channels(), ImageFile::get_properties(), TextureImage::get_source(), ImageFile::get_x_size(), ImageFile::get_y_size(), Texture::load(), TxaFile::match_texture(), TextureImage::post_txa_file(), TextureImage::pre_txa_file(), PNMImage::quick_filter_from(), Texture::set_aux_data, SourceTextureImage::set_header(), TextureImage::set_source_image(), and Texture::store().