RenderCapabilities QML Type

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

Import Statement: import Qt3D.Render 2.9
In C++: QRenderCapabilities
Status: Deprecated

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

api : QRenderCapabilities::API [read-only]

Returns which API is currently in use.


driverVersion : QString [read-only]

Returns the driver version string.


extensions : QStringList [read-only]

Returns the list of extensions currently available.


glslVersion : QString [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 : QString [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 : QString [read-only]

Returns the vendor identification string.


© 2024 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.