- Qt 6.10
- Qt 3D
- QML Types
- Qt3D.Render (Deprecated)
- RenderCapabilities
- Qt 6.10.3 Reference Documentation

# RenderCapabilities QML Type

The QRenderCapabilities class holds settings related to available rendering engines. More...

Import Statement: | `import Qt3D.Render 2.10`
In C++: | QRenderCapabilities
Status: | Deprecated

- List of all members, including inherited members

## Properties

- api : QRenderCapabilities::API
- driverVersion : string
- extensions : list<string>
- glslVersion : string
- majorVersion : int
- maxComputeInvocations : int
- maxComputeSharedMemorySize : int
- maxImageUnits : int
- maxSSBOBindings : int
- maxSSBOSize : int
- maxSamples : int
- maxTextureLayers : int
- maxTextureSize : int
- maxTextureUnits : int
- maxUBOBindings : int
- maxUBOSize : int
- maxWorkGroupCountX : int
- maxWorkGroupCountY : int
- maxWorkGroupCountZ : int
- maxWorkGroupSizeX : int
- maxWorkGroupSizeY : int
- maxWorkGroupSizeZ : int
- minorVersion : int
- profile : bool
- renderer : string
- supportsCompute : bool
- supportsImageStore : bool
- supportsSSBO : bool
- supportsUBO : bool
- valid : bool
- vendor : string

## Detailed Description

RenderCapabilities provides details of graphical features that are available at runtime. It can be used to decide which code path to use for some algorithms, for example, depending on whether compute shaders are available or not.

## Property Documentation

api : QRenderCapabilities::API `[read-only]`

Returns which API is currently in use.

driverVersion : string `[read-only]`

Returns the driver version string.

extensions : list<string> `[read-only]`

Returns the list of extensions currently available.

glslVersion : string `[read-only]`

Returns the GLSL version string.

majorVersion : int `[read-only]`

Returns the major version number currently in use.

maxComputeInvocations : int `[read-only]`

Returns the maximum number of Compute Shaders available.

maxComputeSharedMemorySize : int `[read-only]`

Returns the maximum amount of shared memory available for Compute Shaders.

maxImageUnits : int `[read-only]`

Returns the maximum number of available image units.

maxSSBOBindings : int `[read-only]`

Returns the maximum number of available SSBO binding points, if supported.

maxSSBOSize : int `[read-only]`

Returns the maximum size of SSBOs, if available.

maxSamples : int `[read-only]`

Returns the maximum number of samples available for MSAA.

maxTextureLayers : int `[read-only]`

Returns the number of available texture layers.

maxTextureSize : int `[read-only]`

Returns the maximum size of textures.

maxTextureUnits : int `[read-only]`

Returns the number of available texture units.

maxUBOBindings : int `[read-only]`

Returns the maximum number of available UBO binding points, if supported.

maxUBOSize : int `[read-only]`

Returns the maximum size of UBOs, if supported.

maxWorkGroupCountX : int `[read-only]`

Returns the maximum number of available Compute Shader workgroups in the X axis.

maxWorkGroupCountY : int `[read-only]`

Returns the maximum number of available Compute Shader workgroups in the Y axis.

maxWorkGroupCountZ : int `[read-only]`

Returns the maximum number of available Compute Shader workgroups in the Z axis.

maxWorkGroupSizeX : int `[read-only]`

Returns the maximum size of Compute Shader local workgroups in the X axis.

maxWorkGroupSizeY : int `[read-only]`

Returns the maximum size of Compute Shader local workgroups in the Y axis.

maxWorkGroupSizeZ : int `[read-only]`

Returns the maximum size of Compute Shader local workgroups in the Z axis.

minorVersion : int `[read-only]`

Returns the minor version number currently in use.

profile : bool `[read-only]`

Returns which profile (if applicable) is currently in use.

renderer : string `[read-only]`

Returns the device identification string.

supportsCompute : bool `[read-only]`

Returns true if Compute Shaders are supported.

supportsImageStore : bool `[read-only]`

Returns true if Image Store operations are supported.

supportsSSBO : bool `[read-only]`

Returns true if SSBOs are supported.

supportsUBO : bool `[read-only]`

Returns true if UBOs are supported.

valid : bool `[read-only]`

true if the data is valid, otherwise Qt 3D failed to query the available hardware.

vendor : string `[read-only]`

Returns the vendor identification string.