Buffer QML Type

Defines a buffer to be used for a pass of a CustomMaterial. More...

Import Statement: import QtQuick3D.Materials 1.14

Properties

Detailed Description

Property Documentation

bufferFlags : enumeration

Specifies the buffer allocation flags.

Constant Description
Buffer.None Value not set.
Buffer.SceneLifetime The buffer is allocated for the whole lifetime of the scene.

format : enumeration

Specifies the buffer format.

Constant Value
Buffer.Unknown
Buffer.R8
Buffer.R16
Buffer.R16F
Buffer.R32I
Buffer.R32UI
Buffer.R32F
Buffer.RG8
Buffer.RGBA8
Buffer.RGB8
Buffer.SRGB8
Buffer.SRGB8A8
Buffer.RGB565
Buffer.RGBA16F
Buffer.RG16F
Buffer.RG32F
Buffer.RGB32F
Buffer.RGBA32F
Buffer.R11G11B10
Buffer.RGB9E5
Buffer.Depth16
Buffer.Depth24
Buffer.Depth32
Buffer.Depth24Stencil8

name : string

Specifies the name of the buffer

sizeMultiplier : real

Specifies the size multiplier of the buffer. 1.0 creates buffer with the same size while 0.5 creates buffer with width and height halved.

textureCoordOperation : enumeration

Specifies the texture coordinate operation for coordinates outside [0, 1] range.

Constant Description
Buffer.Unknown Value not set.
Buffer.ClampToEdge Clamp coordinate to edge.
Buffer.MirroredRepeat Repeat the coordinate, but flip direction at the beginning and end.
Buffer.Repeat Repeat the coordinate always from the beginning.

textureFilterOperation : enumeration

Specifies the filter operation when a render pass is reading the buffer that is different size as the current output buffer.

Constant Description
Buffer.Unknown Value not set.
Buffer.Nearest Use nearest-neighbor.
Buffer.Linear Use linear filtering.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.14/qml-qtquick3d-materials-buffer.html