1 #ifndef DONUT_MODULES_FWD_GRAPHICS_HPP
2 #define DONUT_MODULES_FWD_GRAPHICS_HPP
20 using Handle = std::uint32_t;
25 struct ImageSavePNGOptions;
26 struct ImageSaveBMPOptions;
27 struct ImageSaveTGAOptions;
28 struct ImageSaveJPGOptions;
29 struct ImageSaveHDROptions;
38 template <typename Vertex, typename Index, typename Instance>
43 struct RendererOptions;
47 struct TextureInstance;
48 struct RectangleInstance;
50 struct SpriteInstance;
54 struct ShaderConfiguration;
56 class ShaderParameter;
57 template <typename T, std::size_t N>
60 struct ShaderProgramOptions;
66 struct Shader2DOptions;
69 struct Shader3DOptions;
77 struct TextureOptions;
TextureFormat
Description of the internal texel format of a Texture, including the number of component channels,...
Definition: Texture.hpp:22
std::uint32_t Handle
Generic GPU resource handle.
Definition: Handle.hpp:11
MeshBufferUsage
Hint to the graphics driver implementation regarding the intended access pattern of a particular GPU ...
Definition: Mesh.hpp:44
PixelComponentType
Description of the data type of the pixel components of an image.
Definition: Image.hpp:29
MeshPrimitiveType
Specification of which kind of graphical primitive is defined by an associated sequence of vertices i...
Definition: Mesh.hpp:60
ShaderStageType
Type of a ShaderStage in a ShaderProgram.
Definition: ShaderStage.hpp:12
PixelFormat
Description of the number and meaning of the pixel component channels of an image.
Definition: Image.hpp:19
MeshIndexType
Specification of which type of indices is used in the index buffer of a particular Mesh.
Definition: Mesh.hpp:73