Colobot
|
Abstract graphics device - CDevice class and related structs/enums. More...
#include "graphics/core/color.h"
#include "graphics/core/light.h"
#include "graphics/core/material.h"
#include "graphics/core/texture.h"
#include "graphics/core/vertex.h"
#include "math/intpoint.h"
#include "math/matrix.h"
#include <string>
Go to the source code of this file.
Classes | |
struct | Gfx::DeviceConfig |
General config for graphics device. More... | |
class | Gfx::CDevice |
Abstract interface of graphics device. More... |
Namespaces | |
namespace | Gfx |
Namespace for (new) graphics code. |
Enumerations | |
enum | Gfx::TransformType { TRANSFORM_WORLD, TRANSFORM_VIEW, TRANSFORM_PROJECTION } |
Type of transformation in rendering pipeline. More... | |
enum | Gfx::RenderState { RENDER_STATE_LIGHTING, RENDER_STATE_BLENDING, RENDER_STATE_FOG, RENDER_STATE_DEPTH_TEST, RENDER_STATE_DEPTH_WRITE, RENDER_STATE_ALPHA_TEST, RENDER_STATE_CULLING } |
Render states that can be enabled/disabled. | |
enum | Gfx::CompFunc { COMP_FUNC_NEVER, COMP_FUNC_LESS, COMP_FUNC_EQUAL, COMP_FUNC_NOTEQUAL, COMP_FUNC_LEQUAL, COMP_FUNC_GREATER, COMP_FUNC_GEQUAL, COMP_FUNC_ALWAYS } |
Type of function used to compare values. | |
enum | Gfx::BlendFunc { BLEND_ZERO, BLEND_ONE, BLEND_SRC_COLOR, BLEND_INV_SRC_COLOR, BLEND_DST_COLOR, BLEND_INV_DST_COLOR, BLEND_SRC_ALPHA, BLEND_INV_SRC_ALPHA, BLEND_DST_ALPHA, BLEND_INV_DST_ALPHA, BLEND_SRC_ALPHA_SATURATE } |
Type of blending function. | |
enum | Gfx::FogMode { FOG_LINEAR, FOG_EXP, FOG_EXP2 } |
Type of fog calculation function. | |
enum | Gfx::CullMode { Gfx::CULL_CW, Gfx::CULL_CCW } |
Culling mode for polygons. More... | |
enum | Gfx::ShadeModel { SHADE_FLAT, SHADE_SMOOTH } |
Shade model used in rendering. | |
enum | Gfx::FillMode { Gfx::FILL_POINT, Gfx::FILL_LINES, Gfx::FILL_POLY } |
Polygon fill mode. More... | |
enum | Gfx::PrimitiveType { PRIMITIVE_POINTS, PRIMITIVE_LINES, PRIMITIVE_LINE_STRIP, PRIMITIVE_TRIANGLES, PRIMITIVE_TRIANGLE_STRIP } |
Type of primitive to render. | |
enum | Gfx::FrustumPlane { FRUSTUM_PLANE_LEFT = 0x01, FRUSTUM_PLANE_RIGHT = 0x02, FRUSTUM_PLANE_TOP = 0x04, FRUSTUM_PLANE_BOTTOM = 0x08, FRUSTUM_PLANE_FRONT = 0x10, FRUSTUM_PLANE_BACK = 0x20, FRUSTUM_PLANE_ALL } |
Planes of frustum space. More... |
Abstract graphics device - CDevice class and related structs/enums.