RenderCapabilities QML Type
The QRenderCapabilities class holds settings related to available rendering engines. More...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QRenderCapabilities |
Status: | Deprecated |
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
api : QRenderCapabilities::API |
Returns which API is currently in use.
driverVersion : QString |
Returns the driver version string.
extensions : QStringList |
Returns the list of extensions currently available.
glslVersion : QString |
Returns the GLSL version string.
majorVersion : int |
Returns the major version number currently in use.
maxComputeInvocations : int |
Returns the maximum number of Compute Shaders available.
maxComputeSharedMemorySize : int |
Returns the maximum amount of shared memory available for Compute Shaders.
maxImageUnits : int |
Returns the maximum number of available image units.
maxSSBOBindings : int |
Returns the maximum number of available SSBO binding points, if supported.
maxSSBOSize : int |
Returns the maximum size of SSBOs, if available.
maxSamples : int |
Returns the maximum number of samples available for MSAA.
maxTextureLayers : int |
Returns the number of available texture layers.
maxTextureSize : int |
Returns the maximum size of textures.
maxTextureUnits : int |
Returns the number of available texture units.
maxUBOBindings : int |
Returns the maximum number of available UBO binding points, if supported.
maxUBOSize : int |
Returns the maximum size of UBOs, if supported.
maxWorkGroupCountX : int |
Returns the maximum number of available Compute Shader workgroups in the X axis.
maxWorkGroupCountY : int |
Returns the maximum number of available Compute Shader workgroups in the Y axis.
maxWorkGroupCountZ : int |
Returns the maximum number of available Compute Shader workgroups in the Z axis.
maxWorkGroupSizeX : int |
Returns the maximum size of Compute Shader local workgroups in the X axis.
maxWorkGroupSizeY : int |
Returns the maximum size of Compute Shader local workgroups in the Y axis.
maxWorkGroupSizeZ : int |
Returns the maximum size of Compute Shader local workgroups in the Z axis.
minorVersion : int |
Returns the minor version number currently in use.
profile : bool |
Returns which profile (if applicable) is currently in use.
renderer : QString |
Returns the device identification string.
supportsCompute : bool |
Returns true if Compute Shaders are supported.
supportsImageStore : bool |
Returns true if Image Store operations are supported.
supportsSSBO : bool |
Returns true if SSBOs are supported.
supportsUBO : bool |
Returns true if UBOs are supported.
valid : bool |
true if the data is valid, otherwise Qt 3D failed to query the available hardware.
vendor : QString |
Returns the vendor identification string.