QRenderCapabilities#

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities

Synopsis#

Properties#

Functions#

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 PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities([parent=None])#
Parameters:

parentPySide6.QtCore.QObject

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.api: API#

Returns which API is currently in use.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.driverVersion: str#

Returns the driver version string.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.extensions: list of strings#

Returns the list of extensions currently available.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.glslVersion: str#

Returns the GLSL version string.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.majorVersion: int#

Returns the major version number currently in use.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxComputeInvocations: int#

Returns the maximum number of Compute Shaders available.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxComputeSharedMemorySize: int#

Returns the maximum amount of shared memory available for Compute Shaders.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxImageUnits: int#

Returns the maximum number of available image units.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxSSBOBindings: int#

Returns the maximum number of available SSBO binding points, if supported.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxSSBOSize: int#

Returns the maximum size of SSBOs, if available.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxSamples: int#

Returns the maximum number of samples available for MSAA.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxTextureLayers: int#

Returns the number of available texture layers.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxTextureSize: int#

Returns the maximum size of textures.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxTextureUnits: int#

Returns the number of available texture units.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxUBOBindings: int#

Returns the maximum number of available UBO binding points, if supported.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxUBOSize: int#

Returns the maximum size of UBOs, if supported.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupCountX: int#

Returns the maximum number of available Compute Shader workgroups in the X axis.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupCountY: int#

Returns the maximum number of available Compute Shader workgroups in the Y axis.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupCountZ: int#

Returns the maximum number of available Compute Shader workgroups in the Z axis.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupSizeX: int#

Returns the maximum size of Compute Shader local workgroups in the X axis.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupSizeY: int#

Returns the maximum size of Compute Shader local workgroups in the Y axis.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupSizeZ: int#

Returns the maximum size of Compute Shader local workgroups in the Z axis.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.minorVersion: int#

Returns the minor version number currently in use.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.profile: Profile#

Returns which profile (if applicable) is currently in use.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.renderer: str#

Returns the device identification string.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.supportsCompute: bool#

Returns true if Compute Shaders are supported.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.supportsImageStore: bool#

Returns true if Image Store operations are supported.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.supportsSSBO: bool#

Returns true if SSBOs are supported.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.supportsUBO: bool#

Returns true if UBOs are supported.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.valid: bool#

true if the data is valid, otherwise Qt 3D failed to query the available hardware.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.vendor: str#

Returns the vendor identification string.

Access functions:
PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.API#
PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.Profile#
PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.api()#
Return type:

API

Getter of property api .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.driverVersion()#
Return type:

str

Getter of property driverVersion .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.extensions()#
Return type:

list of strings

Getter of property extensions .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.glslVersion()#
Return type:

str

Getter of property glslVersion .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.isValid()#
Return type:

bool

Getter of property valid .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.majorVersion()#
Return type:

int

Getter of property majorVersion .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxComputeInvocations()#
Return type:

int

Getter of property maxComputeInvocations .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxComputeSharedMemorySize()#
Return type:

int

Getter of property maxComputeSharedMemorySize .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxImageUnits()#
Return type:

int

Getter of property maxImageUnits .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxSSBOBindings()#
Return type:

int

Getter of property maxSSBOBindings .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxSSBOSize()#
Return type:

int

Getter of property maxSSBOSize .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxSamples()#
Return type:

int

Getter of property maxSamples .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxTextureLayers()#
Return type:

int

Getter of property maxTextureLayers .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxTextureSize()#
Return type:

int

Getter of property maxTextureSize .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxTextureUnits()#
Return type:

int

Getter of property maxTextureUnits .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxUBOBindings()#
Return type:

int

Getter of property maxUBOBindings .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxUBOSize()#
Return type:

int

Getter of property maxUBOSize .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupCountX()#
Return type:

int

Getter of property maxWorkGroupCountX .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupCountY()#
Return type:

int

Getter of property maxWorkGroupCountY .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupCountZ()#
Return type:

int

Getter of property maxWorkGroupCountZ .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupSizeX()#
Return type:

int

Getter of property maxWorkGroupSizeX .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupSizeY()#
Return type:

int

Getter of property maxWorkGroupSizeY .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.maxWorkGroupSizeZ()#
Return type:

int

Getter of property maxWorkGroupSizeZ .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.minorVersion()#
Return type:

int

Getter of property minorVersion .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.profile()#
Return type:

Profile

Getter of property profile .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.renderer()#
Return type:

str

Getter of property renderer .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.supportsCompute()#
Return type:

bool

Getter of property supportsCompute .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.supportsImageStore()#
Return type:

bool

Getter of property supportsImageStore .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.supportsSSBO()#
Return type:

bool

Getter of property supportsSSBO .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.supportsUBO()#
Return type:

bool

Getter of property supportsUBO .

PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities.vendor()#
Return type:

str

Getter of property vendor .