Pyrogenesis  trunk
Namespaces | Macros | Functions
OgreGLSLPreprocessor.cpp File Reference
#include "precompiled.h"
#include "lib/debug.h"
#include "OgreGLSLPreprocessor.h"
#include <ctype.h>
#include <stdio.h>
Include dependency graph for OgreGLSLPreprocessor.cpp:

Namespaces

 Ogre
 

Macros

#define MAX_MACRO_ARGS   16
 
#define IS_DIRECTIVE(s)   (dirlen == strlen(s) && (strncmp (directive, s, dirlen) == 0))
 

Functions

static size_t Ogre::ClosestPow2 (size_t x)
 Return closest power of two not smaller than given number. More...
 

Macro Definition Documentation

◆ IS_DIRECTIVE

#define IS_DIRECTIVE (   s)    (dirlen == strlen(s) && (strncmp (directive, s, dirlen) == 0))

◆ MAX_MACRO_ARGS

#define MAX_MACRO_ARGS   16