以下成员源于类 QBuffer 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
enum
|
BufferType { VertexBuffer, IndexBuffer, PixelPackBuffer, PixelUnpackBuffer, ..., DrawIndirectBuffer } |
(obsolete)
type
: BufferType
(obsolete)
|
QBuffer (Qt3DRender::QBuffer::BufferType ty , Qt3DCore::QNode * parent = nullptr) |
(obsolete)
|
dumpObjectInfo () |
(obsolete)
|
dumpObjectTree () |
This enum is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
The type of the buffer.
常量 | 值 | 描述 |
---|---|---|
Qt3DRender::QBuffer::VertexBuffer
|
0x8892
|
GL_ARRAY_BUFFER |
Qt3DRender::QBuffer::IndexBuffer
|
0x8893
|
GL_ELEMENT_ARRAY_BUFFER |
Qt3DRender::QBuffer::PixelPackBuffer
|
0x88EB
|
GL_PIXEL_PACK_BUFFER |
Qt3DRender::QBuffer::PixelUnpackBuffer
|
0x88EC
|
GL_PIXEL_UNPACK_BUFFER |
Qt3DRender::QBuffer::UniformBuffer
|
0x8A11
|
GL_UNIFORM_BUFFER |
Qt3DRender::QBuffer::ShaderStorageBuffer
|
0x90D2
|
GL_SHADER_STORAGE_BUFFER |
Qt3DRender::QBuffer::DrawIndirectBuffer
|
0x8F3F
|
GL_DRAW_INDIRECT_BUFFER |
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Holds the buffer type.
访问函数:
Qt3DRender::QBuffer::BufferType | type () const |
void | setType (Qt3DRender::QBuffer::BufferType type ) |
通知程序信号:
void | typeChanged (Qt3DRender::QBuffer::BufferType type ) |
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
构造新的 QBuffer of buffer type ty with parent .