CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GPURenderingCapabilities Struct Referencefinal

Structure with all attributes describing the rendering capabilities of the render system. More...

#include <CeresEngine/RenderAPI/GPUDevice.hpp>

Static Public Member Functions

template<typename Processor >
static constexpr void reflect (Processor &&RTTI)
 Executes the given processor for every field of the struct.
 

Public Attributes

Origin screenSpaceOrigin = Origin::UpperLeft
 Screen coordinate system origin.
 
Origin imageSpaceOrigin = Origin::UpperLeft
 Image coordinate system origin.
 
ClippingRange clippingRange = ClippingRange::ZeroToOne
 Specifies the clipping depth range.
 
Vector< FormatimageFormats
 Specifies the list of supported image formats.
 
GPURenderingFeatures features
 Specifies all supported hardware features.
 
GPURenderingLimits limits
 Specifies all rendering limitations.
 

Detailed Description

Structure with all attributes describing the rendering capabilities of the render system.

Member Function Documentation

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::GPURenderingCapabilities::reflect ( Processor &&  RTTI)
inlinestaticconstexpr

Executes the given processor for every field of the struct.

Parameters
RTTIThe processor to be ran for every field.

Member Data Documentation

◆ clippingRange

ClippingRange CeresEngine::GPURenderingCapabilities::clippingRange = ClippingRange::ZeroToOne

Specifies the clipping depth range.

◆ features

GPURenderingFeatures CeresEngine::GPURenderingCapabilities::features

Specifies all supported hardware features.

Remarks
Especially with OpenGL these features can vary between different hardware and GL versions.

◆ imageFormats

Vector<Format> CeresEngine::GPURenderingCapabilities::imageFormats

Specifies the list of supported image formats.

◆ imageSpaceOrigin

Origin CeresEngine::GPURenderingCapabilities::imageSpaceOrigin = Origin::UpperLeft

Image coordinate system origin.

Remarks
This determines the coordinate space of images.

◆ limits

GPURenderingLimits CeresEngine::GPURenderingCapabilities::limits

Specifies all rendering limitations.

Remarks
Especially with OpenGL these limits can vary between different hardware and GL versions.

◆ screenSpaceOrigin

Origin CeresEngine::GPURenderingCapabilities::screenSpaceOrigin = Origin::UpperLeft

Screen coordinate system origin.

Remarks
This determines the coordinate space of viewports, scissors, and framebuffers.

The documentation for this struct was generated from the following file: