이 페이지에서

Qt3DRender::QRenderCapabilities Class

class Qt3DRender::QRenderCapabilities

QRenderCapabilities 클래스는 사용 가능한 렌더링 엔진과 관련된 설정을 포함합니다. 더 보기...

헤더: #include <qrendercapabilities.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: RenderCapabilities
상속: QObject
상태: 사용 중단됨

이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.

속성

공개 함수

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

Image Store 작업이 지원되는 경우 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

데이터가 유효한 경우 true, 그렇지 않은 경우 Qt 3D 가 사용 가능한 하드웨어를 조회하는 데 실패했음을 나타냅니다.

액세스 함수:

bool isValid() const

[read-only] vendor : const QString

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

액세스 함수:

QString vendor() const

© 2026 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.