Antkeeper
0.0.1
|
Graphics library interface. More...
Classes | |
struct | clear_value |
Clear value. More... | |
struct | color_blend_equation |
Color blend factors and operations. More... | |
struct | framebuffer_attachment |
Framebuffer attachment. More... | |
class | framebuffer |
class | image_view |
Image view. More... | |
class | image_view_1d |
1D image view. More... | |
class | image_view_1d_array |
1D image array view. More... | |
class | image_view_2d |
2D image view. More... | |
class | image_view_2d_array |
2D image array view. More... | |
class | image_view_3d |
3D image view. More... | |
class | image_view_cube |
Cube image view. More... | |
class | image_view_cube_array |
Cube image array view. More... | |
class | image |
class | image_1d |
1D image. More... | |
class | image_2d |
2D image. More... | |
class | image_3d |
3D image. More... | |
class | image_cube |
Cube-compatible 2D image. More... | |
class | gl_shader_bool |
Boolean shader variable implementation using OpenGL. More... | |
class | gl_shader_bvec2 |
2-dimensional boolean vector shader variable implementation using OpenGL. More... | |
class | gl_shader_bvec3 |
3-dimensional boolean vector shader variable implementation using OpenGL. More... | |
class | gl_shader_bvec4 |
4-dimensional boolean vector shader variable implementation using OpenGL. More... | |
class | gl_shader_int |
Signed integer shader variable implementation using OpenGL. More... | |
class | gl_shader_ivec2 |
2-dimensional signed integer vector shader variable implementation using OpenGL. More... | |
class | gl_shader_ivec3 |
3-dimensional signed integer vector shader variable implementation using OpenGL. More... | |
class | gl_shader_ivec4 |
4-dimensional signed integer vector shader variable implementation using OpenGL. More... | |
class | gl_shader_uint |
Unsigned integer shader variable implementation using OpenGL. More... | |
class | gl_shader_uvec2 |
2-dimensional unsigned integer vector shader variable implementation using OpenGL. More... | |
class | gl_shader_uvec3 |
3-dimensional unsigned integer vector shader variable implementation using OpenGL. More... | |
class | gl_shader_uvec4 |
4-dimensional unsigned integer vector shader variable implementation using OpenGL. More... | |
class | gl_shader_float |
Floating-point shader variable implementation using OpenGL. More... | |
class | gl_shader_fvec2 |
2-dimensional floating-point vector shader variable implementation using OpenGL. More... | |
class | gl_shader_fvec3 |
3-dimensional floating-point vector shader variable implementation using OpenGL. More... | |
class | gl_shader_fvec4 |
4-dimensional floating-point vector shader variable implementation using OpenGL. More... | |
class | gl_shader_fmat2 |
2x2 floating-point matrix shader variable implementation using OpenGL. More... | |
class | gl_shader_fmat3 |
3x3 floating-point matrix shader variable implementation using OpenGL. More... | |
class | gl_shader_fmat4 |
4x4 floating-point matrix shader variable implementation using OpenGL. More... | |
class | gl_shader_texture_1d |
1-dimensional texture shader variable implementation using OpenGL. More... | |
class | gl_shader_texture_2d |
2-dimensional texture shader variable implementation using OpenGL. More... | |
class | gl_shader_texture_3d |
3-dimensional texture shader variable implementation using OpenGL. More... | |
class | gl_shader_texture_cube |
Cube texture shader variable implementation using OpenGL. More... | |
struct | pipeline_color_blend_state |
Pipeline color blend state. More... | |
struct | pipeline_depth_stencil_state |
Pipeline depth/stencil state. More... | |
struct | pipeline_input_assembly_state |
Pipeline input assembly state. More... | |
struct | pipeline_rasterization_state |
Pipeline rasterization state. More... | |
struct | pipeline_vertex_input_state |
Pipeline input assembly state. More... | |
struct | pipeline_viewport_state |
Pipeline viewport state. More... | |
class | pipeline |
Graphics pipeline interface. More... | |
class | sampler |
Sampler object. More... | |
struct | scissor_region |
Scissor region offset and extents. More... | |
class | shader_object |
Shader object which can be compiled and linked to a shader program. More... | |
class | shader_program |
Shader program which can be linked to shader objects and executed. More... | |
class | shader_template |
Template used to for generating one or more shader variants from a single source. More... | |
class | shader_variable |
Shader program variable. More... | |
struct | stencil_op_state |
Stencil operation state. More... | |
class | texture |
Image view and sampler object pair. More... | |
class | texture_1d |
1D texture. More... | |
class | texture_1d_array |
1D texture array. More... | |
class | texture_2d |
2D texture. More... | |
class | texture_2d_array |
2D texture array. More... | |
class | texture_3d |
3D texture. More... | |
class | texture_cube |
Cube texture. More... | |
class | texture_cube_array |
Cube texture array. More... | |
class | vertex_array |
Vertex arrays describes how vertex input attributes are stored in vertex buffers. More... | |
class | vertex_buffer |
Vertex buffer object (VBO). More... | |
struct | vertex_input_attribute |
Vertex input attribute. More... | |
struct | vertex_input_binding |
Vertex input binding. More... | |
struct | viewport |
Viewport position, dimensions, and depth range. More... | |
Functions | |
cube_map_layout | infer_cube_map_layout (std::uint32_t width, std::uint32_t height) noexcept |
Infers the layout of a cube map from its dimensions. More... | |
std::uint32_t | infer_cube_map_face_width (std::uint32_t width, std::uint32_t height, cube_map_layout layout) noexcept |
Infers the width of a cube map face from its dimensons and layout. More... | |
Variables | |
constexpr GLenum | gl_format_lut [][3] |
Maps gl::format to OpenGL internal format, base format, and pixel type. More... | |
Graphics library interface.
anonymous enum : std::uint8_t |
Clear mask bits.
Enumerator | |
---|---|
color_clear_bit | Indicates the color buffer should be cleared. |
depth_clear_bit | Indicates the depth buffer should be cleared. |
stencil_clear_bit | Indicates the stencil buffer should be cleared. |
Definition at line 1 of file clear-bits.hpp.
anonymous enum : std::uint8_t |
Bits controlling which components are written to the framebuffer.
Definition at line 1 of file color-component-bits.hpp.
anonymous enum : std::uint8_t |
Framebuffer attachment usage bits.
Definition at line 1 of file framebuffer-usage-bits.hpp.
anonymous enum : std::uint8_t |
Stencil face mask bits specifying which stencil state(s) to update.
Definition at line 1 of file stencil-face-bits.hpp.
|
strong |
Source and destination color and alpha blending factors.
Definition at line 28 of file blend-factor.hpp.
|
strong |
Framebuffer blending operations.
Enumerator | |
---|---|
add | |
subtract | |
reverse_subtract | |
min | |
max |
Definition at line 28 of file blend-op.hpp.
|
strong |
Usage hints for vertex buffers.
Definition at line 32 of file buffer-usage.hpp.
|
strong |
Comparison operators.
Definition at line 28 of file compare-op.hpp.
|
strong |
Cube map layouts.
Definition at line 28 of file cube-map.hpp.
|
strong |
Triangle culling mode.
Enumerator | |
---|---|
none | No triangles are discarded. |
front | Front-facing triangles are discarded. |
back | Back-facing triangles are discarded. |
front_and_back | All triangles are discarded. |
Definition at line 28 of file cull-mode.hpp.
|
strong |
Polygon rasterization mode.
Enumerator | |
---|---|
fill | Polygons are filled. |
line | Polygons edges are drawn as line segments. |
point | Polygons vertices are drawn as points. |
Definition at line 28 of file fill-mode.hpp.
|
strong |
Image and vertex formats.
Definition at line 28 of file format.hpp.
|
strong |
Polygon front-facing orientation.
Enumerator | |
---|---|
counter_clockwise | Triangle with positive area is considered front-facing. |
clockwise | Triangle with negative area is considered front-facing. |
Definition at line 28 of file front-face.hpp.
|
strong |
Image flags.
Enumerator | |
---|---|
cube_compatible | Cube map view compatible image. |
Definition at line 28 of file image-flag.hpp.
|
strong |
Image flags.
Enumerator | |
---|---|
array | Image array view. |
cube | Cube map view. |
Definition at line 28 of file image-view-flag.hpp.
|
strong |
Index types for index buffers.
Enumerator | |
---|---|
uint8 | 8-bit unsigned integer values. |
uint16 | 16-bit unsigned integer values. |
uint32 | 32-bit unsigned integer values. |
Definition at line 28 of file index-type.hpp.
|
strong |
Framebuffer logical operations.
Definition at line 28 of file logic-op.hpp.
|
strong |
Enumerator | |
---|---|
d | Depth. |
ds | Depth, stencil. |
r | Red. |
rg | Red, green. |
rgb | Red, green, blue. |
bgr | Blue, green, red. |
rgba | Red, green, blue, alpha. Blue, green, red, alpha |
bgra |
Definition at line 27 of file pixel-format.hpp.
|
strong |
Enumerator | |
---|---|
int_8 | |
uint_8 | |
int_16 | |
uint_16 | |
int_32 | |
uint_32 | |
float_16 | |
float_32 |
Definition at line 27 of file pixel-type.hpp.
|
strong |
Primitive topologies.
Definition at line 28 of file primitive-topology.hpp.
|
strong |
Vertex to be used as the source of data for flat-shaded varyings.
Enumerator | |
---|---|
first | Provoking vertex is the first non-adjacency vertex. |
last | Provoking vertex is the last non-adjacency vertex. |
Definition at line 28 of file provoking-vertex-mode.hpp.
|
strong |
Behaviors of sampling with texture coordinates outside an image.
Definition at line 28 of file sampler-address-mode.hpp.
|
strong |
Filters used for texture lookups.
Enumerator | |
---|---|
nearest | Nearest filtering. |
linear | Linear filtering. |
Definition at line 28 of file sampler-filter.hpp.
|
strong |
Mipmap modes used for texture lookups.
Enumerator | |
---|---|
nearest | Nearest filtering. |
linear | Linear filtering. |
Definition at line 28 of file sampler-mipmap-mode.hpp.
|
strong |
Enumerates all supported shader stages.
Enumerator | |
---|---|
vertex | Vertex shader stage. |
fragment | Fragment shader stage. |
geometry | Geometry shader stage. |
Definition at line 30 of file shader-stage.hpp.
|
strong |
Shader variable data types.
Enumerator | |
---|---|
bvec1 | |
bvec2 | |
bvec3 | |
bvec4 | |
ivec1 | |
ivec2 | |
ivec3 | |
ivec4 | |
uvec1 | |
uvec2 | |
uvec3 | |
uvec4 | |
fvec1 | |
fvec2 | |
fvec3 | |
fvec4 | |
fmat2 | |
fmat3 | |
fmat4 | |
texture_1d | |
texture_2d | |
texture_3d | |
texture_cube |
Definition at line 30 of file shader-variable-type.hpp.
|
strong |
Stencil comparison functions.
Definition at line 28 of file stencil-op.hpp.
|
strong |
Rate at which vertex attributes are pulled from buffers.
Enumerator | |
---|---|
vertex | Vertex attribute addressing is a function of the vertex index. |
instance | Vertex attribute addressing is a function of the instance index. |
Definition at line 28 of file vertex-input-rate.hpp.
|
noexcept |
Infers the width of a cube map face from its dimensons and layout.
width | Cube map width. |
height | Cube map height. |
layout | Cube map layout. |
Definition at line 54 of file cube-map.cpp.
|
noexcept |
Infers the layout of a cube map from its dimensions.
width | Cube map width. |
height | Cube map height. |
Definition at line 24 of file cube-map.cpp.
|
constexpr |
Maps gl::format to OpenGL internal format, base format, and pixel type.
Definition at line 28 of file gl-format-lut.hpp.