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 |
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
Returns the maximum amount of shared memory available for Compute Shaders.
Returns the maximum number of available SSBO binding points, if supported.
Returns the maximum number of available UBO binding points, if supported.
Returns the maximum number of available Compute Shader workgroups in the X axis.
Returns the maximum number of available Compute Shader workgroups in the Y axis.
Returns the maximum number of available Compute Shader workgroups in the Z axis.
Returns the maximum size of Compute Shader local workgroups in the X axis.
Returns the maximum size of Compute Shader local workgroups in the Y axis.
Returns the maximum size of Compute Shader local workgroups in the Z axis.
true if the data is valid, otherwise Qt 3D failed to query the available hardware.