xoreos  0.0.5
Classes | Namespaces | Typedefs | Enumerations
types.h File Reference

Basic graphics types. More...

#include <vector>
#include "src/common/fallthrough.h"
#include <SDL.h>
#include "src/common/types.h"
#include <GL/glew.h>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Graphics::ColorPosition
 

Namespaces

 Graphics
 

Typedefs

typedef GLuint Graphics::TextureID
 
typedef GLuint Graphics::ListID
 
typedef std::vector< ColorPosition > Graphics::ColorPositions
 

Enumerations

enum  Graphics::PixelFormat { Graphics::kPixelFormatRGB = GL_RGB, Graphics::kPixelFormatRGBA = GL_RGBA, Graphics::kPixelFormatBGR = GL_BGR, Graphics::kPixelFormatBGRA = GL_BGRA }
 
enum  Graphics::PixelFormatRaw {
  Graphics::kPixelFormatRGBA8 = GL_RGBA8, Graphics::kPixelFormatRGB8 = GL_RGB8, Graphics::kPixelFormatRGB5A1 = GL_RGB5_A1, Graphics::kPixelFormatRGB5 = GL_RGB5,
  Graphics::kPixelFormatDXT1 = GL_COMPRESSED_RGB_S3TC_DXT1_EXT, Graphics::kPixelFormatDXT3 = GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, Graphics::kPixelFormatDXT5 = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
}
 
enum  Graphics::PixelDataType { Graphics::kPixelDataType8 = GL_UNSIGNED_BYTE, Graphics::kPixelDataType1555 = GL_UNSIGNED_SHORT_1_5_5_5_REV, Graphics::kPixelDataType565 = GL_UNSIGNED_SHORT_5_6_5 }
 
enum  Graphics::QueueType {
  Graphics::kQueueTexture = 0, Graphics::kQueueNewTexture, Graphics::kQueueWorldObject, Graphics::kQueueVisibleWorldObject,
  Graphics::kQueueGUIFrontObject, Graphics::kQueueGUIBackObject, Graphics::kQueueGUIConsoleObject, Graphics::kQueueVisibleGUIFrontObject,
  Graphics::kQueueVisibleGUIBackObject, Graphics::kQueueVisibleGUIConsoleObject, Graphics::kQueueVideo, Graphics::kQueueVisibleVideo,
  Graphics::kQueueGLContainer, Graphics::kQueueNewShader, Graphics::kQueueMAX
}
 
enum  Graphics::RenderableType {
  Graphics::kRenderableTypeVideo = 0, Graphics::kRenderableTypeObject, Graphics::kRenderableTypeGUIFront, Graphics::kRenderableTypeGUIBack,
  Graphics::kRenderableTypeConsole
}
 
enum  Graphics::RenderPass { Graphics::kRenderPassOpaque = 0, Graphics::kRenderPassTransparent = 1, Graphics::kRenderPassAll = 2 }
 

Detailed Description

Basic graphics types.

Definition in file types.h.