Qt3DRender::QRenderCapabilities Class

class Qt3DRender::QRenderCapabilities

QRenderCapabilities 클래스에는 사용 가능한 렌더링 엔진과 관련된 설정이 있습니다. 더 보기...

Header: #include <QRenderCapabilities>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: RenderCapabilities
상속합니다: QObject
상태: Deprecated

속성

공공 기능

Qt3DRender::QRenderCapabilities::API api() const
QString driverVersion() const
QStringList extensions() const
QString glslVersion() const
bool isValid() const
int majorVersion() const
int maxComputeInvocations() const
int maxComputeSharedMemorySize() const
int maxImageUnits() const
int maxSSBOBindings() const
int maxSSBOSize() const
int maxSamples() const
int maxTextureLayers() const
int maxTextureSize() const
int maxTextureUnits() const
int maxUBOBindings() const
int maxUBOSize() const
int maxWorkGroupCountX() const
int maxWorkGroupCountY() const
int maxWorkGroupCountZ() const
int maxWorkGroupSizeX() const
int maxWorkGroupSizeY() const
int maxWorkGroupSizeZ() const
int minorVersion() const
Qt3DRender::QRenderCapabilities::Profile profile() const
QString renderer() const
bool supportsCompute() const
bool supportsImageStore() const
bool supportsSSBO() const
bool supportsUBO() const
QString vendor() const

상세 설명

QRenderCapabilities는 런타임에 사용할 수 있는 그래픽 기능에 대한 세부 정보를 제공합니다. 예를 들어 컴퓨팅 셰이더의 사용 가능 여부에 따라 일부 알고리즘에 사용할 코드 경로를 결정하는 데 사용할 수 있습니다.

속성 문서

[read-only] api : const API

현재 사용 중인 API를 반환합니다.

함수에 액세스합니다:

Qt3DRender::QRenderCapabilities::API api() const

[read-only] driverVersion : const QString

드라이버 버전 문자열을 반환합니다.

함수에 액세스합니다:

QString driverVersion() const

[read-only] extensions : const QStringList

현재 사용 가능한 확장 프로그램 목록을 반환합니다.

함수에 액세스합니다:

QStringList extensions() const

[read-only] glslVersion : const QString

GLSL 버전 문자열을 반환합니다.

함수에 액세스합니다:

QString glslVersion() const

[read-only] majorVersion : const int

현재 사용 중인 메이저 버전 번호를 반환합니다.

액세스 함수:

int majorVersion() const

[read-only] maxComputeInvocations : const int

사용 가능한 최대 컴퓨트 셰이더 수를 반환합니다.

함수에 액세스합니다:

int maxComputeInvocations() const

[read-only] maxComputeSharedMemorySize : const int

컴퓨트 셰이더에 사용할 수 있는 최대 공유 메모리 양을 반환합니다.

액세스 함수입니다:

int maxComputeSharedMemorySize() const

[read-only] maxImageUnits : const int

사용 가능한 이미지 단위의 최대 개수를 반환합니다.

액세스 함수:

int maxImageUnits() const

[read-only] maxSSBOBindings : const int

지원되는 경우 사용 가능한 SSBO 바인딩 포인트의 최대 개수를 반환합니다.

액세스 함수:

int maxSSBOBindings() const

[read-only] maxSSBOSize : const int

사용 가능한 경우 SSBO의 최대 크기를 반환합니다.

액세스 함수:

int maxSSBOSize() const

[read-only] maxSamples : const int

MSAA에 사용할 수 있는 최대 샘플 수를 반환합니다.

액세스 함수:

int maxSamples() const

[read-only] maxTextureLayers : const int

사용 가능한 텍스처 레이어 수를 반환합니다.

함수에 액세스합니다:

int maxTextureLayers() const

[read-only] maxTextureSize : const int

텍스처의 최대 크기를 반환합니다.

액세스 함수:

int maxTextureSize() const

[read-only] maxTextureUnits : const int

사용 가능한 텍스처 단위의 수를 반환합니다.

함수에 액세스합니다:

int maxTextureUnits() const

[read-only] maxUBOBindings : const int

지원되는 경우 사용 가능한 최대 UBO 바인딩 포인트 수를 반환합니다.

액세스 함수:

int maxUBOBindings() const

[read-only] maxUBOSize : const int

지원되는 경우 UBO의 최대 크기를 반환합니다.

액세스 함수:

int maxUBOSize() const

[read-only] maxWorkGroupCountX : const int

X 축에서 사용 가능한 최대 컴퓨트 셰이더 워크그룹 수를 반환합니다.

액세스 함수입니다:

int maxWorkGroupCountX() const

[read-only] maxWorkGroupCountY : const int

Y축에서 사용 가능한 최대 컴퓨트 셰이더 워크그룹 수를 반환합니다.

액세스 함수입니다:

int maxWorkGroupCountY() const

[read-only] maxWorkGroupCountZ : const int

Z 축에서 사용 가능한 최대 컴퓨트 셰이더 워크그룹 수를 반환합니다.

액세스 함수입니다:

int maxWorkGroupCountZ() const

[read-only] maxWorkGroupSizeX : const int

X 축에서 계산 셰이더 로컬 워크그룹의 최대 크기를 반환합니다.

액세스 함수입니다:

int maxWorkGroupSizeX() const

[read-only] maxWorkGroupSizeY : const int

Y축에서 계산 셰이더 로컬 워크그룹의 최대 크기를 반환합니다.

액세스 함수입니다:

int maxWorkGroupSizeY() const

[read-only] maxWorkGroupSizeZ : const int

Z 축에서 계산 셰이더 로컬 워크그룹의 최대 크기를 반환합니다.

액세스 함수입니다:

int maxWorkGroupSizeZ() const

[read-only] minorVersion : const int

현재 사용 중인 부 버전 번호를 반환합니다.

액세스 함수:

int minorVersion() const

[read-only] profile : const Profile

현재 사용 중인 프로필(해당되는 경우)을 반환합니다.

액세스 함수:

Qt3DRender::QRenderCapabilities::Profile profile() const

[read-only] renderer : const QString

디바이스 식별 문자열을 반환합니다.

액세스 함수:

QString renderer() const

[read-only] supportsCompute : const bool

컴퓨트 셰이더가 지원되면 true를 반환합니다.

함수에 액세스합니다:

bool supportsCompute() const

[read-only] supportsImageStore : const bool

이미지 저장소 작업이 지원되면 true를 반환합니다.

액세스 함수:

bool supportsImageStore() const

[read-only] supportsSSBO : const bool

SSBO가 지원되면 true를 반환합니다.

함수에 액세스합니다:

bool supportsSSBO() const

[read-only] supportsUBO : const bool

UBO가 지원되면 true를 반환합니다.

함수에 액세스합니다:

bool supportsUBO() const

[read-only] valid : const bool

데이터가 유효하면 참이고, 그렇지 않으면 Qt 3D 사용 가능한 하드웨어를 쿼리하지 못했습니다.

액세스 함수:

bool isValid() const

[read-only] vendor : const QString

공급업체 식별 문자열을 반환합니다.

함수에 액세스합니다:

QString vendor() const

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.