GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
FeatureSupport.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2// SPDX-License-Identifier: MIT
3
4#ifndef GREM_GRAPHICS_FEATURE_SUPPORT_HPP
5#define GREM_GRAPHICS_FEATURE_SUPPORT_HPP
6
8
10#include <GREM/core/extents.hpp>
12
13namespace grem::graphics {
14
82
83} // namespace grem::graphics
84
85#endif
Definition buffer_layouts.hpp:20
Extent< 2 > Extent2D
Size of a 2D data region.
Definition extents.hpp:31
CStringViewBase< char, std::char_traits< char > > CStringView
Definition CStringView.hpp:635
Declarations of special features supported by a Device.
Definition FeatureSupport.hpp:18
bool supportsTextureCompressionPVRTC_SRGB
Whether PVRTC SRGB texture compression is supported or not.
Definition FeatureSupport.hpp:71
bool supportsTextureCompressionPVRTC
Whether PVRTC texture compression is supported or not.
Definition FeatureSupport.hpp:68
float maxSupportedSamplerAnisotropy
Maximum supported level of anisotropic filtering of sampled textures.
Definition FeatureSupport.hpp:44
uint32_t max2DTextureResolution
Maximum allowed 2D texture width or height, in texels.
Definition FeatureSupport.hpp:29
CStringView graphicsBackendAPIName
Name of the active graphics backend API, e.g. "OpenGL", "WebGL" or "Vulkan".
Definition FeatureSupport.hpp:23
bool supportsTextureCompressionBPTC
Whether BPTC texture compression is supported or not.
Definition FeatureSupport.hpp:62
uint32_t maxCubeTextureResolution
Maximum allowed cube texture width or height, in texels.
Definition FeatureSupport.hpp:32
bool supportsAwaitPresentation
Whether Device::awaitPresentation() is supported or not.
Definition FeatureSupport.hpp:80
bool supportsTextureCompressionASTC_LDR
Whether ASTC LDR texture compression is supported or not.
Definition FeatureSupport.hpp:47
CStringView videoDriverName
Name of the active video driver, e.g. "windows", "x11" or "wayland".
Definition FeatureSupport.hpp:20
bool supportsASTCDecodeMode
Whether specifying the decode mode is supported for ASTC texture compression or not.
Definition FeatureSupport.hpp:50
bool supportsTextureCompressionRGTC
Whether RGTC texture compression is supported or not.
Definition FeatureSupport.hpp:59
bool supportsTextureCompressionS3TC_SRGB
Whether DXT1/DXT5 SRGB texture compression is supported or not.
Definition FeatureSupport.hpp:56
bool supportsSPIRVShaderCode
Whether shaders can be created directly from SPIR-V code or not.
Definition FeatureSupport.hpp:77
bool supportsTextureCompressionETC2
Whether ETC2 texture compression is supported or not.
Definition FeatureSupport.hpp:65
uint32_t maxSupportedMultisampleCount
Maximum supported level of multisampling of renderbuffer textures.
Definition FeatureSupport.hpp:41
uint32_t maxTextureLayerCount
Maximum allowed number of array texture layers.
Definition FeatureSupport.hpp:35
Extent2D maxFramebufferSize
Maximum allowed framebuffer size, in texels.
Definition FeatureSupport.hpp:38
CStringView graphicsBackendAPIVersionName
Name of the active graphics backend API version, e.g. "3.3 Core", "ES 3.0", "2.0" or "1....
Definition FeatureSupport.hpp:26
bool supportsTextureCompressionS3TC
Whether DXT1/DXT5 texture compression is supported or not.
Definition FeatureSupport.hpp:53
bool supportsGLSLShaderCode
Whether shaders can be compiled directly from GLSL source code or not.
Definition FeatureSupport.hpp:74