![]() |
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
Classes | |
struct | CompiledGeometryData |
class | EnumArray |
struct | FragShaderDefinition |
struct | FramebufferData |
struct | ProgramData |
struct | ProgramDefinition |
class | Uniforms |
struct | VertShaderDefinition |
Typedefs | |
using | Programs = EnumArray< GLuint, ProgramId > |
using | VertShaders = EnumArray< GLuint, VertShaderId > |
using | FragShaders = EnumArray< GLuint, FragShaderId > |
Enumerations | |
enum class | VertexAttribute { Position , Color0 , TexCoord0 , Count } |
enum class | FramebufferAttachment { None , Depth , DepthStencil } |
Functions | |
static void | CheckGLError (const char *operation_name) |
static bool | CreateShader (GLuint &out_shader_id, GLenum shader_type, const char *code_string) |
static bool | CreateProgram (GLuint &out_program, Uniforms &inout_uniform_map, ProgramId program_id, GLuint vertex_shader, GLuint fragment_shader) |
static bool | CreateFramebuffer (FramebufferData &out_fb, int width, int height, int samples, FramebufferAttachment attachment, GLuint shared_depth_stencil_buffer) |
static void | DestroyFramebuffer (FramebufferData &fb) |
static void | BindTexture (const FramebufferData &fb) |
static bool | CreateShaders (ProgramData &data) |
static void | DestroyShaders (const ProgramData &data) |
Variables | |
static const char *const | program_uniform_names [(size_t) UniformId::Count] |
static const char *const | vertex_attribute_names [(size_t) VertexAttribute::Count] |
static const VertShaderDefinition | vert_shader_definitions [] |
static const FragShaderDefinition | frag_shader_definitions [] |
static const ProgramDefinition | program_definitions [] |
using Gfx::FragShaders = typedef EnumArray<GLuint, FragShaderId> |
using Gfx::Programs = typedef EnumArray<GLuint, ProgramId> |
using Gfx::VertShaders = typedef EnumArray<GLuint, VertShaderId> |
|
strong |
|
strong |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |