#include "Application.h"
#include <thread>
Go to the source code of this file.
|
#define | SET_BIT(var, pos) ((var) |= (1<<(pos))) |
|
#define | CLEAR_BIT(var, pos) ((var) &= ~(1<<(pos))) |
|
#define | SET_LSB(var) ((var) |= 1) |
|
#define | CLEAR_LSB(var) ((var) &= ~1) |
|
#define | CHECK_BIT(var, pos) ((var) & (1<<(pos))) |
|
|
void | save (Ogre::uchar *data, Ogre::uchar *databuf, int mWidth, int mHeight, Ogre::PixelFormat pf, Ogre::String filename) |
|
◆ CHECK_BIT
#define CHECK_BIT |
( |
|
var, |
|
|
|
pos |
|
) |
| ((var) & (1<<(pos))) |
◆ CLEAR_BIT
#define CLEAR_BIT |
( |
|
var, |
|
|
|
pos |
|
) |
| ((var) &= ~(1<<(pos))) |
◆ CLEAR_LSB
#define CLEAR_LSB |
( |
|
var | ) |
((var) &= ~1) |
◆ SET_BIT
#define SET_BIT |
( |
|
var, |
|
|
|
pos |
|
) |
| ((var) |= (1<<(pos))) |
◆ SET_LSB
#define SET_LSB |
( |
|
var | ) |
((var) |= 1) |
◆ save()
void save |
( |
Ogre::uchar * |
data, |
|
|
Ogre::uchar * |
databuf, |
|
|
int |
mWidth, |
|
|
int |
mHeight, |
|
|
Ogre::PixelFormat |
pf, |
|
|
Ogre::String |
filename |
|
) |
| |