Skip to main content

types Namespace

Definition​

namespace helios::engine::rendering::common::types { ... }

Classes Index​

structInstanced

Marker for instanced rendering mode. More...

structInstanceData<TOwnerHandle>

Instance payload transferred to the render backend. More...

structNonInstanced

Marker for non-instanced rendering mode. More...

structRenderPassContext

Groups the target handles used for a render pass. More...

structVertex

Represents a standard vertex with position, normal, and texture coordinates. More...

Enumerations Index​

enum classClearFlags { ... }

Defines bitmask flags for clearing render buffers before drawing. More...

enum classSubmissionMode : std::uint32_t { ... }

Enumerations​

ClearFlags​

enum class helios::engine::rendering::common::types::ClearFlags
strong

Defines bitmask flags for clearing render buffers before drawing.

Enumeration values
NoneNo buffers are cleared (= 0)
ColorThe color buffer is cleared (= 1 << 0)
DepthThe depth buffer is cleared (= 1 << 1)
StencilThe stencil buffer is cleared (= 1 << 2)

These flags can be combined using bitwise OR operations to specify which buffers (color, depth, stencil) should be cleared before rendering.

Example usage:

 // Clear both color and depth buffers
 int clearFlags = std::to_underlying(ClearFlags::Color) | std::to_underlying(ClearFlags::Depth);
 viewport.setClearFlags(clearFlags);
See Also

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glClear.xhtml

Definition at line 27 of file ClearFlags.ixx.

27 enum class ClearFlags {
31 None = 0,
32
36 Color = 1 << 0,
37
41 Depth = 1 << 1,
42
46 Stencil = 1 << 2,
47 };

SubmissionMode​

enum class helios::engine::rendering::common::types::SubmissionMode : std::uint32_t
strong
Enumeration values
Instanced
NonInstanced

Definition at line 26 of file submissionModes.ixx.

26 enum class SubmissionMode : std::uint32_t {
29 };

The documentation for this namespace was generated from the following files:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.