Buffer QML Type
Defines a buffer to be used for a pass of a CustomMaterial. More...
Import Statement: | import QtQuick3D.Materials 1.14 |
Properties
- bufferFlags : enumeration
- format : enumeration
- name : string
- sizeMultiplier : real
- textureCoordOperation : enumeration
- textureFilterOperation : enumeration
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. |
© 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.