core::gfx namespace

namespace that deals with the abstract render objects

using this namespace you can have an abstract API to the various supported graphics APIs

classes

bundle
commit_instruction
description of a memory commit instruction. Tries to offer some safer mechanisms.
computepass
describes a compute stage in the render_graph
drawgroup
a collection of draw instructions to be recorded and sent to the GPU.
render_graph
Describes a fully contained set of graphics instructions \detail A rendergraph allows you to connect the various draw/compute-passes and describe their interdependencies so that it can organize their invocations in a safe manner.

enums

buffering : uint8_t
how many render buffers should there be.
enum classclasspublicpublic
surface_mode : uint8_t
how should the surface be rendered.
enum classclasspublicpublic
shader_stage : uint8_t
‍*** [format:enum
enum classclasspublicpublic
binding_type
these signify the binding type in the shader
enum classclasspublicpublic

functions

packing_size
Get the alignment of the pixel storage format.
public noexcept

Enum documentation

surface_mode: uint8_t { FULLSCREEN = 0, WINDOWED = 1, FULLSCREEN_WINDOW = 2 } how should the surface be rendered.

Function documentation

size_t core::gfx::packing_size(format_t value) noexcept

Brief

Get the alignment of the pixel storage format.

Returns The byte alignment