Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include "ioDDS.hpp"
#include <vlCore/LoadWriterManager.hpp>
#include <vlCore/VisualizationLibrary.hpp>
#include <vlCore/FileSystem.hpp>
#include <vlCore/VirtualFile.hpp>
#include <vlCore/Image.hpp>
#include <vlCore/ImageTools.hpp>
Go to the source code of this file.
Defines | |
#define | IS_BGRA8(pf) |
#define | IS_BGRX8(pf) |
#define | IS_BGR8(pf) |
#define | IS_GRAY8(pf) |
#define | IS_GRAY8_ALPHA8(pf) |
#define | IS_PALETTE8(pf) isFourCC("P8 ", pf.dwFourCC) |
#define | IS_DXT1(pf) isFourCC("DXT1", pf.dwFourCC) |
#define | IS_DXT3(pf) isFourCC("DXT3", pf.dwFourCC) |
#define | IS_DXT5(pf) isFourCC("DXT5", pf.dwFourCC) |
Enumerations | |
enum | |
Functions | |
VL_COMPILE_TIME_CHECK (sizeof(DDSURFACEDESC2)==124) |
#define IS_BGRA8 | ( | pf ) |
((pf.dwFlags & DDPF_RGB) && \ (pf.dwFlags & DDPF_ALPHAPIXELS) && \ (pf.dwRGBBitCount == 32))
Definition at line 131 of file ioDDS.cpp.
Referenced by vl::loadDDS().
#define IS_BGRX8 | ( | pf ) |
((pf.dwFlags & DDPF_RGB) && \ !(pf.dwFlags & DDPF_ALPHAPIXELS) && \ (pf.dwRGBBitCount == 32))
Definition at line 136 of file ioDDS.cpp.
Referenced by vl::loadDDS().
#define IS_BGR8 | ( | pf ) |
((pf.dwFlags & DDPF_RGB) && \ !(pf.dwFlags & DDPF_ALPHAPIXELS) && \ (pf.dwRGBBitCount == 24))
Definition at line 141 of file ioDDS.cpp.
Referenced by vl::loadDDS().
#define IS_GRAY8 | ( | pf ) |
((((pf.dwFlags & DDPF_LUMINANCE) || (pf.dwFlags & DDPF_ALPHA) ) && \
(pf.dwRGBBitCount == 8) && !(pf.dwFlags & DDPF_ALPHAPIXELS) ) || \
isFourCC("G8 ", pf.dwFourCC ) )
Definition at line 146 of file ioDDS.cpp.
Referenced by vl::loadDDS().
#define IS_GRAY8_ALPHA8 | ( | pf ) |
(((pf.dwFlags & DDPF_LUMINANCE) && \
(pf.dwRGBBitCount == 16) && (pf.dwFlags & DDPF_ALPHAPIXELS)) || \
isFourCC("AG8 ", pf.dwFourCC ) )
Definition at line 151 of file ioDDS.cpp.
Referenced by vl::loadDDS().
#define IS_PALETTE8 | ( | pf ) | isFourCC("P8 ", pf.dwFourCC) |
Definition at line 156 of file ioDDS.cpp.
Referenced by vl::loadDDS().
#define IS_DXT1 | ( | pf ) | isFourCC("DXT1", pf.dwFourCC) |
Definition at line 158 of file ioDDS.cpp.
Referenced by vl::loadDDS().
#define IS_DXT3 | ( | pf ) | isFourCC("DXT3", pf.dwFourCC) |
Definition at line 160 of file ioDDS.cpp.
Referenced by vl::loadDDS().
#define IS_DXT5 | ( | pf ) | isFourCC("DXT5", pf.dwFourCC) |
Definition at line 162 of file ioDDS.cpp.
Referenced by vl::loadDDS().
VL_COMPILE_TIME_CHECK | ( | sizeof(DDSURFACEDESC2) | = =124 ) |