GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::FeatureSupport Struct Reference

Declarations of special features supported by a Device. More...

#include <GREM/graphics/FeatureSupport.hpp>

Public Attributes

CStringView videoDriverName {}
 Name of the active video driver, e.g. "windows", "x11" or "wayland".
CStringView graphicsBackendAPIName {}
 Name of the active graphics backend API, e.g. "OpenGL", "WebGL" or "Vulkan".
CStringView graphicsBackendAPIVersionName {}
 Name of the active graphics backend API version, e.g. "3.3 Core", "ES 3.0", "2.0" or "1.2".
uint32_t max2DTextureResolution = 16384
 Maximum allowed 2D texture width or height, in texels.
uint32_t maxCubeTextureResolution = 16384
 Maximum allowed cube texture width or height, in texels.
uint32_t maxTextureLayerCount = 2048
 Maximum allowed number of array texture layers.
Extent2D maxFramebufferSize {16384, 16384}
 Maximum allowed framebuffer size, in texels.
uint32_t maxSupportedMultisampleCount = 1
 Maximum supported level of multisampling of renderbuffer textures.
float maxSupportedSamplerAnisotropy = 1.0f
 Maximum supported level of anisotropic filtering of sampled textures.
bool supportsTextureCompressionASTC_LDR = false
 Whether ASTC LDR texture compression is supported or not.
bool supportsASTCDecodeMode = false
 Whether specifying the decode mode is supported for ASTC texture compression or not.
bool supportsTextureCompressionS3TC = false
 Whether DXT1/DXT5 texture compression is supported or not.
bool supportsTextureCompressionS3TC_SRGB = false
 Whether DXT1/DXT5 SRGB texture compression is supported or not.
bool supportsTextureCompressionRGTC = false
 Whether RGTC texture compression is supported or not.
bool supportsTextureCompressionBPTC = false
 Whether BPTC texture compression is supported or not.
bool supportsTextureCompressionETC2 = false
 Whether ETC2 texture compression is supported or not.
bool supportsTextureCompressionPVRTC = false
 Whether PVRTC texture compression is supported or not.
bool supportsTextureCompressionPVRTC_SRGB = false
 Whether PVRTC SRGB texture compression is supported or not.
bool supportsGLSLShaderCode = false
 Whether shaders can be compiled directly from GLSL source code or not.
bool supportsSPIRVShaderCode = false
 Whether shaders can be created directly from SPIR-V code or not.
bool supportsAwaitPresentation = false
 Whether Device::awaitPresentation() is supported or not.

Detailed Description

Declarations of special features supported by a Device.

Member Data Documentation

◆ videoDriverName

CStringView grem::graphics::FeatureSupport::videoDriverName {}

Name of the active video driver, e.g. "windows", "x11" or "wayland".

◆ graphicsBackendAPIName

CStringView grem::graphics::FeatureSupport::graphicsBackendAPIName {}

Name of the active graphics backend API, e.g. "OpenGL", "WebGL" or "Vulkan".

◆ graphicsBackendAPIVersionName

CStringView grem::graphics::FeatureSupport::graphicsBackendAPIVersionName {}

Name of the active graphics backend API version, e.g. "3.3 Core", "ES 3.0", "2.0" or "1.2".

◆ max2DTextureResolution

uint32_t grem::graphics::FeatureSupport::max2DTextureResolution = 16384

Maximum allowed 2D texture width or height, in texels.

◆ maxCubeTextureResolution

uint32_t grem::graphics::FeatureSupport::maxCubeTextureResolution = 16384

Maximum allowed cube texture width or height, in texels.

◆ maxTextureLayerCount

uint32_t grem::graphics::FeatureSupport::maxTextureLayerCount = 2048

Maximum allowed number of array texture layers.

◆ maxFramebufferSize

Extent2D grem::graphics::FeatureSupport::maxFramebufferSize {16384, 16384}

Maximum allowed framebuffer size, in texels.

◆ maxSupportedMultisampleCount

uint32_t grem::graphics::FeatureSupport::maxSupportedMultisampleCount = 1

Maximum supported level of multisampling of renderbuffer textures.

◆ maxSupportedSamplerAnisotropy

float grem::graphics::FeatureSupport::maxSupportedSamplerAnisotropy = 1.0f

Maximum supported level of anisotropic filtering of sampled textures.

◆ supportsTextureCompressionASTC_LDR

bool grem::graphics::FeatureSupport::supportsTextureCompressionASTC_LDR = false

Whether ASTC LDR texture compression is supported or not.

◆ supportsASTCDecodeMode

bool grem::graphics::FeatureSupport::supportsASTCDecodeMode = false

Whether specifying the decode mode is supported for ASTC texture compression or not.

◆ supportsTextureCompressionS3TC

bool grem::graphics::FeatureSupport::supportsTextureCompressionS3TC = false

Whether DXT1/DXT5 texture compression is supported or not.

◆ supportsTextureCompressionS3TC_SRGB

bool grem::graphics::FeatureSupport::supportsTextureCompressionS3TC_SRGB = false

Whether DXT1/DXT5 SRGB texture compression is supported or not.

◆ supportsTextureCompressionRGTC

bool grem::graphics::FeatureSupport::supportsTextureCompressionRGTC = false

Whether RGTC texture compression is supported or not.

◆ supportsTextureCompressionBPTC

bool grem::graphics::FeatureSupport::supportsTextureCompressionBPTC = false

Whether BPTC texture compression is supported or not.

◆ supportsTextureCompressionETC2

bool grem::graphics::FeatureSupport::supportsTextureCompressionETC2 = false

Whether ETC2 texture compression is supported or not.

◆ supportsTextureCompressionPVRTC

bool grem::graphics::FeatureSupport::supportsTextureCompressionPVRTC = false

Whether PVRTC texture compression is supported or not.

◆ supportsTextureCompressionPVRTC_SRGB

bool grem::graphics::FeatureSupport::supportsTextureCompressionPVRTC_SRGB = false

Whether PVRTC SRGB texture compression is supported or not.

◆ supportsGLSLShaderCode

bool grem::graphics::FeatureSupport::supportsGLSLShaderCode = false

Whether shaders can be compiled directly from GLSL source code or not.

◆ supportsSPIRVShaderCode

bool grem::graphics::FeatureSupport::supportsSPIRVShaderCode = false

Whether shaders can be created directly from SPIR-V code or not.

◆ supportsAwaitPresentation

bool grem::graphics::FeatureSupport::supportsAwaitPresentation = false

Whether Device::awaitPresentation() is supported or not.


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