UniformBlock Struct

struct QShaderDescription::UniformBlock

균일한 블록을 설명합니다. More...

이 구조체는 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 객체 lhsrhs 가 같으면 true 를 반환합니다.

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