|
CeresEngine 0.2.0
A game development framework
|
Contains all rendering limitations such as maximum buffer size, maximum image resolution etc. 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 | |
| float | lineWidthRange [2] = {1.0f, 1.0f} |
| Specifies the range for rasterizer line widths. | |
| float | lineWidthGranularity |
| Specifies the granularity for rasterizer line widths. | |
| UInt32 | maxImageArrayLayers = 0 |
| Specifies the maximum number of image array layers (for 1D-, 2D-, and cube images). | |
| UInt32 | maxColorAttachments = 0 |
| Specifies the maximum number of color attachments for each render target. | |
| UInt32 | maxPatchVertices = 0 |
| Specifies the maximum number of patch control points. | |
| UInt32 | max1DImageSize = 0 |
| Specifies the maximum size of each 1D image. | |
| UInt32 | max2DImageSize = 0 |
| Specifies the maximum size of each 2D image (for width and height). | |
| UInt32 | max3DImageSize = 0 |
| Specifies the maximum size of each 3D image (for width, height, and depth). | |
| UInt32 | maxCubeImageSize = 0 |
| Specifies the maximum size of each cube image (for width and height). | |
| UInt32 | maxAnisotropy = 0 |
| Specifies the maximum anisotropy image filter. | |
| TVector3< UInt32 > | maxComputeShaderWorkGroups = {0, 0, 0} |
| Specifies the maximum number of work groups in a compute shader. | |
| TVector3< UInt32 > | maxComputeShaderWorkGroupSize = {0, 0, 0} |
| Specifies the maximum work group size in a compute shader. | |
| UInt32 | maxViewports = 0 |
| Specifies the maximum number of viewports and scissor rectangles. | |
| TExtent2< UInt32 > | maxViewportSize = {0u, 0u} |
| Specifies the maximum width and height of each viewport and scissor rectangle. | |
| UInt64 | maxBufferSize = 0 |
| Specifies the maximum size (in bytes) that is supported for hardware buffers (vertex, index, storage buffers). | |
| UInt64 | maxConstantBufferSize = 0 |
| Specifies the maximum size (in bytes) that is supported for hardware constant buffers. | |
Contains all rendering limitations such as maximum buffer size, maximum image resolution etc.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| float CeresEngine::GPURenderingLimits::lineWidthGranularity |
Specifies the granularity for rasterizer line widths.
Only supported with: OpenGL, Vulkan.
| float CeresEngine::GPURenderingLimits::lineWidthRange[2] = {1.0f, 1.0f} |
Specifies the range for rasterizer line widths.
By default [1, 1]. Only supported with: OpenGL, Vulkan.
| UInt32 CeresEngine::GPURenderingLimits::max1DImageSize = 0 |
Specifies the maximum size of each 1D image.
| UInt32 CeresEngine::GPURenderingLimits::max2DImageSize = 0 |
Specifies the maximum size of each 2D image (for width and height).
| UInt32 CeresEngine::GPURenderingLimits::max3DImageSize = 0 |
Specifies the maximum size of each 3D image (for width, height, and depth).
| UInt32 CeresEngine::GPURenderingLimits::maxAnisotropy = 0 |
Specifies the maximum anisotropy image filter.
| UInt64 CeresEngine::GPURenderingLimits::maxBufferSize = 0 |
Specifies the maximum size (in bytes) that is supported for hardware buffers (vertex, index, storage buffers).
| UInt32 CeresEngine::GPURenderingLimits::maxColorAttachments = 0 |
Specifies the maximum number of color attachments for each render target.
| TVector3<UInt32> CeresEngine::GPURenderingLimits::maxComputeShaderWorkGroups = {0, 0, 0} |
Specifies the maximum number of work groups in a compute shader.
| TVector3<UInt32> CeresEngine::GPURenderingLimits::maxComputeShaderWorkGroupSize = {0, 0, 0} |
Specifies the maximum work group size in a compute shader.
| UInt64 CeresEngine::GPURenderingLimits::maxConstantBufferSize = 0 |
Specifies the maximum size (in bytes) that is supported for hardware constant buffers.
| UInt32 CeresEngine::GPURenderingLimits::maxCubeImageSize = 0 |
Specifies the maximum size of each cube image (for width and height).
| UInt32 CeresEngine::GPURenderingLimits::maxImageArrayLayers = 0 |
Specifies the maximum number of image array layers (for 1D-, 2D-, and cube images).
| UInt32 CeresEngine::GPURenderingLimits::maxPatchVertices = 0 |
Specifies the maximum number of patch control points.
| UInt32 CeresEngine::GPURenderingLimits::maxViewports = 0 |
Specifies the maximum number of viewports and scissor rectangles.
Most render systems have a maximum of 16.
| TExtent2<UInt32> CeresEngine::GPURenderingLimits::maxViewportSize = {0u, 0u} |
Specifies the maximum width and height of each viewport and scissor rectangle.