Buffer QML Type

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

Import Statement: import QtQuick3D 1.0

Properties

Detailed Description

Property Documentation

bufferFlags : enumeration

Specifies the buffer allocation flags.

ConstantDescription
Buffer.NoneValue not set.
Buffer.SceneLifetimeThe buffer is allocated for the whole lifetime of the scene.

format : enumeration

Specifies the buffer format.

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

ConstantDescription
Buffer.UnknownValue not set.
Buffer.ClampToEdgeClamp coordinate to edge.
Buffer.MirroredRepeatRepeat the coordinate, but flip direction at the beginning and end.
Buffer.RepeatRepeat 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.

ConstantDescription
Buffer.UnknownValue not set.
Buffer.NearestUse nearest-neighbor.
Buffer.LinearUse linear filtering.

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