Buffer QML Type

효과의 패스에 사용할 색상 버퍼를 만들거나 참조합니다. 더 보기...

Import Statement: import QtQuick3D
Inherits:

QtObject

속성

자세한 설명

버퍼는 Effect 에서 render passes 간에 데이터를 공유하기 위한 중간 버퍼를 생성하는 데 사용할 수 있습니다.

참고: 버퍼의 name 프로퍼티가 비어 있으면 렌더 패스의 기본 출력 텍스처를 참조합니다.

프로퍼티 문서

bufferFlags : enumeration

버퍼 할당 플래그를 지정합니다. 기본값은 Buffer.None입니다.

Constant설명
Buffer.None특별한 동작이 없습니다.
Buffer.SceneLifetime버퍼는 씬의 전체 수명 동안 할당됩니다.

format : enumeration

텍스처 포맷을 지정합니다. 기본값은 Buffer.RGBA8입니다.

Constant
Buffer.RGBA8
Buffer.RGBA16F
Buffer.RGBA32F
Buffer.R8
Buffer.R16
Buffer.R16F
Buffer.R32F

name : string

버퍼의 이름을 지정합니다.

참고: 이 프로퍼티가 비어 있으면 버퍼는 버퍼를 할당하는 대신 render pass 의 기본 출력 텍스처를 참조합니다. 이는 별도의 중간 텍스처를 새로 만들지 않고 텍스처 형식과 같은 출력의 특정 설정을 재정의하는 데 유용할 수 있습니다.


sizeMultiplier : real

버퍼의 크기 배수를 지정합니다. 예를 들어 1.0 값은 효과의 입력 텍스처와 동일한 크기의 버퍼를 생성하고 0.5 값은 너비와 높이가 모두 절반인 버퍼를 생성합니다. 기본값은 1.0입니다.


textureCoordOperation : enumeration

0, 1] 범위를 벗어난 샘플링 시 텍스처 좌표에 대한 동작을 지정합니다. 기본값은 Buffer.ClampToEdge입니다.

Constant설명
Buffer.ClampToEdge좌표를 가장자리에 클램프합니다.
Buffer.Repeat텍스처를 타일링하려면 가장자리에서 좌표를 래핑합니다.
Buffer.MirroredRepeat가장자리에서 좌표를 래핑하지만 텍스처를 타일링할 때는 텍스처를 미러링합니다.

textureFilterOperation : enumeration

버퍼의 내용을 샘플링할 때 텍스처 필터링 모드를 지정합니다. 기본값은 Buffer.Linear입니다.

Constant설명
Buffer.Nearest가장 가까운 이웃 필터링을 사용합니다.
Buffer.Linear선형 필터링을 사용합니다.

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