- Qt 5.15
- Qt 3D
- QML Types
- RenderCapabilities QML Type
- Qt 5.15.15 Reference Documentation

# RenderCapabilities QML Type

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

Import Statement: | import Qt3D.Render 2.15
Since: | Qt 5.15

- List of all members, including inherited members

## Properties

- api : QRenderCapabilities::API
- driverVersion : QString
- extensions : QStringList
- glslVersion : QString
- 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 : QString
- supportsCompute : bool
- supportsImageStore : bool
- supportsSSBO : bool
- supportsUBO : bool
- valid : bool
- vendor : QString

## 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

[read-only] api : QRenderCapabilities::API

Returns which API is currently in use.

[read-only] driverVersion : QString

Returns the driver version string.

[read-only] extensions : QStringList

Returns the list of extensions currently available.

[read-only] glslVersion : QString

Returns the GLSL version string.

[read-only] majorVersion : int

Returns the major version number currently in use.

[read-only] maxComputeInvocations : int

Returns the maximum number of Compute Shaders available.

[read-only] maxComputeSharedMemorySize : int

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

[read-only] maxImageUnits : int

Returns the maximum number of available image units.

[read-only] maxSSBOBindings : int

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

[read-only] maxSSBOSize : int

Returns the maximum size of SSBOs, if available.

[read-only] maxSamples : int

Returns the maximum number of samples available for MSAA.

[read-only] maxTextureLayers : int

Returns the number of available texture layers.

[read-only] maxTextureSize : int

Returns the maximum size of textures.

[read-only] maxTextureUnits : int

Returns the number of available texture units.

[read-only] maxUBOBindings : int

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

[read-only] maxUBOSize : int

Returns the maximum size of UBOs, if supported.

[read-only] maxWorkGroupCountX : int

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

[read-only] maxWorkGroupCountY : int

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

[read-only] maxWorkGroupCountZ : int

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

[read-only] maxWorkGroupSizeX : int

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

[read-only] maxWorkGroupSizeY : int

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

[read-only] maxWorkGroupSizeZ : int

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

[read-only] minorVersion : int

Returns the minor version number currently in use.

[read-only] profile : bool

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

[read-only] renderer : QString

Returns the device identification string.

[read-only] supportsCompute : bool

Returns true if Compute Shaders are supported.

[read-only] supportsImageStore : bool

Returns true if Image Store operations are supported.

[read-only] supportsSSBO : bool

Returns true if SSBOs are supported.

[read-only] supportsUBO : bool

Returns true if UBOs are supported.

[read-only] valid : bool

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

[read-only] vendor : QString

Returns the vendor identification string.