#include "pandabase.h"#include "texture.h"#include "config_gobj.h"#include "texturePool.h"#include "textureContext.h"#include "datagram.h"#include "datagramIterator.h"#include "bamReader.h"#include "bamWriter.h"#include "string_utils.h"#include <stddef.h>Go to the source code of this file.
Functions | |
| int | up_to_power_2 (int value) |
| int | down_to_power_2 (int value) |
| void | consider_rescale (PNMImage &pnmimage, const string &name) |
| void | consider_downgrade (PNMImage &pnmimage, int num_channels, const string &name) |
|
||||||||||||||||
|
Definition at line 112 of file texture.cxx. References PNMImageHeader::get_num_channels(), and PNMImage::set_num_channels(). Referenced by Texture::read(). |
|
||||||||||||
|
Definition at line 69 of file texture.cxx. References down_to_power_2(), PNMImageHeader::get_maxval(), PNMImageHeader::get_num_channels(), PNMImageHeader::get_type(), PNMImageHeader::get_x_size(), PNMImageHeader::get_y_size(), max_texture_dimension, PNMImage::quick_filter_from(), and up_to_power_2(). Referenced by Texture::read(). |
|
|
Definition at line 55 of file texture.cxx. References x. Referenced by consider_rescale(). |
|
|
Definition at line 41 of file texture.cxx. References x. Referenced by consider_rescale(). |
1.3