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 |
Instantiates: | QRenderCapabilities |
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] 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] 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.