RenderCapabilities QML Type

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

Import Statement: import Qt3D.Render 2.5
Instantiates: QRenderCapabilities

Properties

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.


© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.