Hymn to Beauty
C++ 3D Engine
GraphicsPipeline.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "Types.hpp"
4
5namespace Video {
6
8
12 public:
17
20
23
26
29
32
35
38 };
39
42
44 virtual ~GraphicsPipeline() {}
45
46 private:
47 GraphicsPipeline(const GraphicsPipeline& other) = delete;
48};
49
50}
A graphics pipeline.
Definition: GraphicsPipeline.hpp:11
virtual ~GraphicsPipeline()
Destructor.
Definition: GraphicsPipeline.hpp:44
GraphicsPipeline()
Create a new graphics pipeline.
Definition: GraphicsPipeline.hpp:41
Definition: Editor.hpp:18
PrimitiveType
The type of primitives to render.
Definition: Types.hpp:46
DepthComparison
How to perform depth comparisons.
Definition: Types.hpp:20
PolygonMode
How polygons are rasterized.
Definition: Types.hpp:27
BlendMode
Blending mode.
Definition: Types.hpp:39
DepthMode
How to use depth buffer.
Definition: Types.hpp:13
CullFace
Which face to cull.
Definition: Types.hpp:6
The configuration of the graphics pipeline.
Definition: GraphicsPipeline.hpp:14
bool depthClamp
Depth clamping (disable near and far plane clipping).
Definition: GraphicsPipeline.hpp:34
BlendMode blendMode
Blending mode.
Definition: GraphicsPipeline.hpp:25
PrimitiveType primitiveType
The type of primitives to render.
Definition: GraphicsPipeline.hpp:16
DepthComparison depthComparison
How to perform depth comparisons.
Definition: GraphicsPipeline.hpp:31
DepthMode depthMode
How to use depth buffer.
Definition: GraphicsPipeline.hpp:28
CullFace cullFace
Which face to cull.
Definition: GraphicsPipeline.hpp:22
bool conservativeRasterization
Conservative rasterization (overestimation).
Definition: GraphicsPipeline.hpp:37
PolygonMode polygonMode
How to render polygons.
Definition: GraphicsPipeline.hpp:19