QShaderDescription::UniformBlock Struct
struct QShaderDescription::UniformBlock균일한 블록을 설명합니다. 더 보기...
이 구조체는 Qt 6.6에서 도입되었습니다.
공개 변수
| int | binding |
| QByteArray | blockName |
| int | descriptorSet |
| QList<QShaderDescription::BlockVariable> | members |
| int | size |
| QByteArray | structName |
관련 비멤버
| bool | operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs) |
상세 설명
참고: 유니폼 블록을 지원하지 않는 셰이딩 언어(예: GLSL 120 또는 GLSL/ES 100)로 변환할경우 , 유니폼 블록은 구조체 내의 일반 유니폼으로 대체됩니다. 구조체의 이름, 즉 블록 멤버에서 생성된 유니폼의 접두사는 structName 에 의해 지정됩니다.
참고: 이는 호환성 보장이 제한적인 RHI API입니다. 자세한 내용은 QShaderDescription 를 참조하십시오.
멤버 변수 설명서
int UniformBlock::binding
QByteArray UniformBlock::blockName
int UniformBlock::descriptorSet
QList<QShaderDescription::BlockVariable> UniformBlock::members
int UniformBlock::size
QByteArray UniformBlock::structName
관련 비회원
[noexcept] bool operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs)
두 개의 ` UniformBlock ` 객체인 ` lhs `와 ` rhs `가 같을 경우 ` true `를 반환합니다.
© 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.