#include "../Common/Globals.h"
#include "../Util/Set.h"
#include "../Util/String.h"
#include "../Math/Vector.h"
#include "Image.h"
Include dependency graph for Renderer.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | Texture |
struct | Shader |
struct | FragmentShader |
struct | VertexShader |
class | Renderer |
Defines | |
#define | MAX_TEXTURES 16 |
#define | TEXTURE_NONE (-1) |
#define | DEPTH_NONE (-1) |
#define | BLENDING_NONE (-1) |
#define | SHADER_NONE (-1) |
#define | UNDEFINED 0 |
#define | TEXTURE_CLAMP_S 0x1 |
#define | TEXTURE_CLAMP_T 0x2 |
#define | TEXTURE_CLAMP_R 0x4 |
#define | TEXTURE_CLAMP (TEXTURE_CLAMP_S | TEXTURE_CLAMP_T | TEXTURE_CLAMP_R) |
#define | TEXTURE_NORMALMAP 0x10 |
#define | TEXTURE_HEIGHTMAP 0x20 |
#define | TEXTURE_NORMALHEIGHTMAP (TEXTURE_NORMALMAP | TEXTURE_HEIGHTMAP) |
#define | DEPTH 0x01 |
#define | RED 0x02 |
#define | GREEN 0x04 |
#define | BLUE 0x08 |
#define | ALPHA 0x10 |
#define | COLOR (RED | GREEN | BLUE | ALPHA) |
#define | ALL (DEPTH | COLOR) |
#define | NONE 0 |
#define | LF_SHADING 0x1 |
Typedefs | |
typedef int | TextureID |
typedef int | ShaderID |
Enumerations | |
enum | TEXTUREKIND { TEXTURE_2D = 0, TEXTURE_CUBEMAP = 1 } |
Variables | |
const int | NEVER |
const int | LESS |
const int | EQUAL |
const int | LEQUAL |
const int | GREATER |
const int | NOTEQUAL |
const int | GEQUAL |
const int | ALWAYS |
const int | ZERO |
const int | ONE |
const int | SRC_COLOR |
const int | ONE_MINUS_SRC_COLOR |
const int | DST_COLOR |
const int | ONE_MINUS_DST_COLOR |
const int | SRC_ALPHA |
const int | ONE_MINUS_SRC_ALPHA |
const int | DST_ALPHA |
const int | ONE_MINUS_DST_ALPHA |
const int | SRC_ALPHA_SATURATE |
const int | BLENDMODE_ADD |
const int | BLENDMODE_SUBTRACT |
const int | BLENDMODE_REVERSE_SUBSTRACT |
const int | BLENDMODE_MIN |
const int | BLENDMOXE_MAX |
|
Definition at line 82 of file Renderer.h. Referenced by Menu::drawCreate(), Menu::drawJoin(), Menu::drawMain(), Menu::drawSettings(), Renderer::reset(), and Renderer::resetToDefaults(). |
|
Definition at line 79 of file Renderer.h. Referenced by OpenGLRenderer::changeMask(). |
|
Definition at line 58 of file Renderer.h. Referenced by OpenGLRenderer::changeBlending(), Renderer::reset(), and Renderer::resetToDefaults(). |
|
Definition at line 78 of file Renderer.h. Referenced by OpenGLRenderer::changeMask(). |
|
|
Definition at line 75 of file Renderer.h. Referenced by OpenGLRenderer::changeMask(). |
|
Definition at line 57 of file Renderer.h. Referenced by OpenGLRenderer::changeDepthFunc(), Menu::drawFrame(), Join::drawFrame(), Join::drawGalaxies(), and OpenGLFont::startTextMode(). |
|
Definition at line 77 of file Renderer.h. Referenced by OpenGLRenderer::changeMask(). |
|
Definition at line 115 of file Renderer.h. Referenced by Renderer::apply(), Menu::load(), MainApp::load(), and Menu::unload(). |
|
Definition at line 54 of file Renderer.h. Referenced by OpenGLRenderer::init(). |
|
Definition at line 83 of file Renderer.h. Referenced by Play::drawFrame(). |
|
Definition at line 76 of file Renderer.h. Referenced by OpenGLRenderer::changeMask(). |
|
|
Definition at line 67 of file Renderer.h. |
|
Definition at line 66 of file Renderer.h. |
|
Definition at line 64 of file Renderer.h. Referenced by Renderer::addTexture(). |
|
Definition at line 65 of file Renderer.h. Referenced by Renderer::addTexture(). |
|
Definition at line 70 of file Renderer.h. Referenced by Renderer::addTexture(). |
|
Definition at line 56 of file Renderer.h. Referenced by Renderer::addCubemap(), Renderer::addTexture(), OpenGLRenderer::changeTexture(), ObjLevel::load(), Menu::load(), Join::load(), Menu::loadMain(), Play::loadTextures(), MS_Material::reloadTexture(), Renderer::reset(), Renderer::resetToDefaults(), Join::setGalaxy(), Menu::setModel(), and Play::unload(). |
|
Definition at line 71 of file Renderer.h. |
|
Definition at line 69 of file Renderer.h. Referenced by Renderer::addTexture(). |
|
Definition at line 61 of file Renderer.h. Referenced by Renderer::deleteFragmentShader(), Renderer::deleteShader(), Renderer::deleteTexture(), Renderer::deleteVertexShader(), Renderer::insertFragmentShader(), Renderer::insertShader(), Renderer::insertTexture(), and Renderer::insertVertexShader(). |
|
Definition at line 17 of file Renderer.h. |
|
Author: Petter Alstermark, petter@alstermark.com Definition at line 16 of file Renderer.h. |
|
Definition at line 19 of file Renderer.h. |
|
Definition at line 17 of file OpenGLRenderer.cpp. |
|
Definition at line 32 of file OpenGLRenderer.cpp. Referenced by Renderer::reset(), and Renderer::resetToDefaults(). |
|
Definition at line 35 of file OpenGLRenderer.cpp. |
|
Definition at line 34 of file OpenGLRenderer.cpp. |
|
Definition at line 33 of file OpenGLRenderer.cpp. |
|
Definition at line 36 of file OpenGLRenderer.cpp. |
|
Definition at line 28 of file OpenGLRenderer.cpp. |
|
Definition at line 24 of file OpenGLRenderer.cpp. Referenced by Play::drawLifebar(), and Play::drawShadow(). |
|
Definition at line 12 of file OpenGLRenderer.cpp. |
|
Definition at line 16 of file OpenGLRenderer.cpp. |
|
Definition at line 14 of file OpenGLRenderer.cpp. |
|
Definition at line 13 of file OpenGLRenderer.cpp. Referenced by Explosion::drawAndUpdate(), Menu::drawCreate(), Play::drawExplosions(), Menu::drawFrame(), Menu::drawJoin(), Menu::drawMain(), Play::drawParticleSystems(), Play::drawPlayer(), Menu::drawSettings(), Renderer::reset(), and Renderer::resetToDefaults(). |
|
Definition at line 11 of file OpenGLRenderer.cpp. |
|
Author: Petter Alstermark, petter@alstermark.com Definition at line 10 of file OpenGLRenderer.cpp. |
|
Definition at line 15 of file OpenGLRenderer.cpp. |
|
|
Definition at line 29 of file OpenGLRenderer.cpp. |
|
Definition at line 25 of file OpenGLRenderer.cpp. |
|
Definition at line 27 of file OpenGLRenderer.cpp. Referenced by Play::drawPlayer(). |
|
Definition at line 23 of file OpenGLRenderer.cpp. |
|
Definition at line 26 of file OpenGLRenderer.cpp. Referenced by Explosion::drawAndUpdate(), Menu::drawCreate(), Menu::drawFrame(), Menu::drawJoin(), Menu::drawMain(), Menu::drawSettings(), and OpenGLFont::startTextMode(). |
|
Definition at line 30 of file OpenGLRenderer.cpp. |
|
Definition at line 22 of file OpenGLRenderer.cpp. |
|
Definition at line 20 of file OpenGLRenderer.cpp. Referenced by Play::drawLifebar(), and Play::drawShadow(). |