3Depict
|
#include "textures.h"
#include "wx/wxcommon.h"
#include "common/pngread.h"
#include <string>
#include <iostream>
Functions | |
int | pngTexture (texture *dest, const char *filename, GLenum type) |
Type can be GL_TEXTURE_1D or GL_TEXTURE_2D. More... | |
int | pngTexture3D (texture *dest, const vector< string > &fileNames) |
int | pngTexture2D (texture *dest, const char *filename) |
int | pngTexture1D (texture *dest, const char *filename) |
Variables | |
const char * | TEXTURE_OVERLAY_PNG [] |
int pngTexture | ( | texture * | dest, |
const char * | filename, | ||
GLenum | type | ||
) |
Type can be GL_TEXTURE_1D or GL_TEXTURE_2D.
References check_if_png(), texture::data, free_pngrowpointers(), texture::glID, texture::height, read_png(), and texture::width.
Referenced by pngTexture1D(), pngTexture2D(), and TexturePool::TexturePool().
int pngTexture1D | ( | texture * | dest, |
const char * | filename | ||
) |
References pngTexture().
Referenced by TexturePool::TexturePool().
int pngTexture2D | ( | texture * | dest, |
const char * | filename | ||
) |
References pngTexture().
Referenced by TexturePool::openTexture(), and TexturePool::TexturePool().
int pngTexture3D | ( | texture * | dest, |
const vector< string > & | fileNames | ||
) |
References check_if_png(), texture::data, texture::depth, free_pngrowpointers(), texture::glID, texture::height, read_png(), and texture::width.
Referenced by TexturePool::openTexture3D(), and TexturePool::TexturePool().
const char* TEXTURE_OVERLAY_PNG[] |
Referenced by Scene::drawOverlays().