PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities¶
- class QRenderCapabilities¶
The
QRenderCapabilities
class holds settings related to available rendering engines. More…Synopsis¶
Properties¶
Methods¶
def
__init__()
def
api()
def
driverVersion()
def
extensions()
def
glslVersion()
def
isValid()
def
majorVersion()
def
maxImageUnits()
def
maxSSBOSize()
def
maxSamples()
def
maxTextureSize()
def
maxUBOBindings()
def
maxUBOSize()
def
minorVersion()
def
profile()
def
renderer()
def
supportsSSBO()
def
supportsUBO()
def
vendor()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
QRenderCapabilities
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.- class API¶
- class Profile¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property apiᅟ: Qt3DRender.QRenderCapabilities.API¶
Returns which API is currently in use.
- Access functions:
- property driverVersionᅟ: str¶
Returns the driver version string.
- Access functions:
- property extensionsᅟ: list of strings¶
Returns the list of extensions currently available.
- Access functions:
- property glslVersionᅟ: str¶
Returns the GLSL version string.
- Access functions:
- property majorVersionᅟ: int¶
Returns the major version number currently in use.
- Access functions:
- property maxComputeInvocationsᅟ: int¶
Returns the maximum number of Compute Shaders available.
- Access functions:
Returns the maximum amount of shared memory available for Compute Shaders.
- Access functions:
- property maxImageUnitsᅟ: int¶
Returns the maximum number of available image units.
- Access functions:
- property maxSSBOBindingsᅟ: int¶
Returns the maximum number of available SSBO binding points, if supported.
- Access functions:
- property maxSSBOSizeᅟ: int¶
Returns the maximum size of SSBOs, if available.
- Access functions:
- property maxSamplesᅟ: int¶
Returns the maximum number of samples available for MSAA.
- Access functions:
- property maxTextureLayersᅟ: int¶
Returns the number of available texture layers.
- Access functions:
- property maxTextureSizeᅟ: int¶
Returns the maximum size of textures.
- Access functions:
- property maxTextureUnitsᅟ: int¶
Returns the number of available texture units.
- Access functions:
- property maxUBOBindingsᅟ: int¶
Returns the maximum number of available UBO binding points, if supported.
- Access functions:
- property maxUBOSizeᅟ: int¶
Returns the maximum size of UBOs, if supported.
- Access functions:
- property maxWorkGroupCountXᅟ: int¶
Returns the maximum number of available Compute Shader workgroups in the X axis.
- Access functions:
- property maxWorkGroupCountYᅟ: int¶
Returns the maximum number of available Compute Shader workgroups in the Y axis.
- Access functions:
- property maxWorkGroupCountZᅟ: int¶
Returns the maximum number of available Compute Shader workgroups in the Z axis.
- Access functions:
- property maxWorkGroupSizeXᅟ: int¶
Returns the maximum size of Compute Shader local workgroups in the X axis.
- Access functions:
- property maxWorkGroupSizeYᅟ: int¶
Returns the maximum size of Compute Shader local workgroups in the Y axis.
- Access functions:
- property maxWorkGroupSizeZᅟ: int¶
Returns the maximum size of Compute Shader local workgroups in the Z axis.
- Access functions:
- property minorVersionᅟ: int¶
Returns the minor version number currently in use.
- Access functions:
- property profileᅟ: Qt3DRender.QRenderCapabilities.Profile¶
Returns which profile (if applicable) is currently in use.
- Access functions:
- property rendererᅟ: str¶
Returns the device identification string.
- Access functions:
- property supportsComputeᅟ: bool¶
Returns true if Compute Shaders are supported.
- Access functions:
- property supportsImageStoreᅟ: bool¶
Returns true if Image Store operations are supported.
- Access functions:
- property supportsSSBOᅟ: bool¶
Returns true if SSBOs are supported.
- Access functions:
- property supportsUBOᅟ: bool¶
Returns true if UBOs are supported.
- Access functions:
- property validᅟ: bool¶
true if the data is valid, otherwise Qt 3D failed to query the available hardware.
- Access functions:
- property vendorᅟ: str¶
Returns the vendor identification string.
- Access functions:
- api()¶
- Return type:
API
Getter of property
apiᅟ
.- driverVersion()¶
- Return type:
str
Getter of property
driverVersionᅟ
.- extensions()¶
- Return type:
list of strings
Getter of property
extensionsᅟ
.- glslVersion()¶
- Return type:
str
Getter of property
glslVersionᅟ
.- isValid()¶
- Return type:
bool
Getter of property
validᅟ
.- majorVersion()¶
- Return type:
int
Getter of property
majorVersionᅟ
.- maxComputeInvocations()¶
- Return type:
int
Getter of property
maxComputeInvocationsᅟ
.- maxComputeSharedMemorySize()¶
- Return type:
int
Getter of property
maxComputeSharedMemorySizeᅟ
.- maxImageUnits()¶
- Return type:
int
Getter of property
maxImageUnitsᅟ
.- maxSSBOBindings()¶
- Return type:
int
Getter of property
maxSSBOBindingsᅟ
.- maxSSBOSize()¶
- Return type:
int
Getter of property
maxSSBOSizeᅟ
.- maxSamples()¶
- Return type:
int
Getter of property
maxSamplesᅟ
.- maxTextureLayers()¶
- Return type:
int
Getter of property
maxTextureLayersᅟ
.- maxTextureSize()¶
- Return type:
int
Getter of property
maxTextureSizeᅟ
.- maxTextureUnits()¶
- Return type:
int
Getter of property
maxTextureUnitsᅟ
.- maxUBOBindings()¶
- Return type:
int
Getter of property
maxUBOBindingsᅟ
.- maxUBOSize()¶
- Return type:
int
Getter of property
maxUBOSizeᅟ
.- maxWorkGroupCountX()¶
- Return type:
int
Getter of property
maxWorkGroupCountXᅟ
.- maxWorkGroupCountY()¶
- Return type:
int
Getter of property
maxWorkGroupCountYᅟ
.- maxWorkGroupCountZ()¶
- Return type:
int
Getter of property
maxWorkGroupCountZᅟ
.- maxWorkGroupSizeX()¶
- Return type:
int
Getter of property
maxWorkGroupSizeXᅟ
.- maxWorkGroupSizeY()¶
- Return type:
int
Getter of property
maxWorkGroupSizeYᅟ
.- maxWorkGroupSizeZ()¶
- Return type:
int
Getter of property
maxWorkGroupSizeZᅟ
.- minorVersion()¶
- Return type:
int
Getter of property
minorVersionᅟ
.- profile()¶
- Return type:
Profile
Getter of property
profileᅟ
.- renderer()¶
- Return type:
str
Getter of property
rendererᅟ
.- supportsCompute()¶
- Return type:
bool
Getter of property
supportsComputeᅟ
.- supportsImageStore()¶
- Return type:
bool
Getter of property
supportsImageStoreᅟ
.- supportsSSBO()¶
- Return type:
bool
Getter of property
supportsSSBOᅟ
.- supportsUBO()¶
- Return type:
bool
Getter of property
supportsUBOᅟ
.- vendor()¶
- Return type:
str
Getter of property
vendorᅟ
.