![]() |
DDraceNetwork Documentation
|
#include "image.h"#include "kernel.h"#include "warning.h"#include <base/color.h>#include <base/system.h>#include <cstddef>#include <cstdint>#include <functional>#include <optional>#include <vector>Go to the source code of this file.
Classes | |
| struct | SBufferContainerInfo |
| struct | SBufferContainerInfo::SAttribute |
| struct | SQuadRenderInfo |
| class | CGraphicTile |
| class | CGraphicTileTextureCoords |
| class | CVideoMode |
| struct | GL_STexCoord3D |
| struct | GL_SVertex |
| struct | GL_SVertexTex3D |
| struct | GL_SVertexTex3DStream |
| struct | STWGraphicGpu |
| struct | STWGraphicGpu::STWGraphicGpuItem |
| class | IGraphics |
| class | IGraphics::CTextureHandle |
| class | IGraphics::CLineItem |
| class | IGraphics::CLineItemBatch |
| struct | IGraphics::CFreeformItem |
| struct | IGraphics::CQuadItem |
| struct | IGraphics::SRenderSpriteInfo |
| struct | IGraphics::CColorVertex |
| class | IGraphics::CMessageBoxButton |
| class | IGraphics::CMessageBox |
| class | IEngineGraphics |
Macros | |
| #define | GRAPHICS_TYPE_UNSIGNED_BYTE 0x1401 |
| #define | GRAPHICS_TYPE_UNSIGNED_SHORT 0x1403 |
| #define | GRAPHICS_TYPE_INT 0x1404 |
| #define | GRAPHICS_TYPE_UNSIGNED_INT 0x1405 |
| #define | GRAPHICS_TYPE_FLOAT 0x1406 |
Typedefs | |
| typedef vec2 | GL_SPoint |
| typedef vec2 | GL_STexCoord |
| typedef ColorRGBA | GL_SColorf |
| typedef vector4_base< unsigned char > | GL_SColor |
| typedef STWGraphicGpu | TTwGraphicsGpuList |
| typedef std::function< void()> | WINDOW_RESIZE_FUNC |
| typedef std::function< void()> | WINDOW_PROPS_CHANGED_FUNC |
| typedef std::function< bool(uint32_t &Width, uint32_t &Height, CImageInfo::EImageFormat &Format, std::vector< uint8_t > &vDstData)> | TGLBackendReadPresentedImageData |
Functions | |
| IEngineGraphics * | CreateEngineGraphicsThreaded () |
| std::optional< int > | ShowMessageBoxWithoutGraphics (const IGraphics::CMessageBox &MessageBox) |
Variables | |
| static constexpr size_t | gs_GraphicsMaxQuadsRenderCount = 256 |
| static constexpr size_t | gs_GraphicsMaxParticlesRenderCount = 512 |
| #define GRAPHICS_TYPE_FLOAT 0x1406 |
| #define GRAPHICS_TYPE_INT 0x1404 |
| #define GRAPHICS_TYPE_UNSIGNED_BYTE 0x1401 |
| #define GRAPHICS_TYPE_UNSIGNED_INT 0x1405 |
| #define GRAPHICS_TYPE_UNSIGNED_SHORT 0x1403 |
| typedef std::function<bool(uint32_t &Width, uint32_t &Height, CImageInfo::EImageFormat &Format, std::vector<uint8_t> &vDstData)> TGLBackendReadPresentedImageData |
| typedef std::function<void()> WINDOW_PROPS_CHANGED_FUNC |
| typedef std::function<void()> WINDOW_RESIZE_FUNC |
|
extern |
|
extern |
This function should only be used when the graphics are not initialized or when IGraphics::ShowMessageBox failed.