sincerely Singaporean

If you have not done so, read this full tutorial on how to use SGEXTN to build an application.

SGRDataBuffer

see header file

see source file

class SGRDataBuffer;

part of SGEXTN module SG_RI

GPU side buffer

detailed description

list of all including inherited members

implementation details

preprocessor file inclusion directive: #include ‹SGRDataBuffer.h›

CMake target for BuildLah: SGEXTN::SG_RI

see this link for more information about BuildLah

parent class: (none)

children classes: SGRElementBufferObject, SGRVertexBufferObject

instance member functions

void doubleBuffer() const;

[[nodiscard]] int length() const;

Detailed Description

SGRDataBuffer represent a GPU side data buffer used by SG - RI ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ renderers to store information on the GPU. This is also the base class for SGRVertexBufferObject and SGRElementBufferObject.

Implementation Details

SG - RI ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ internally uses QRhi, SGRDataBuffer wraps QRhiBuffer.

void doubleBuffer() const;

Doubles the size of this SGRDataBuffer without losing data that it already contains.

[[nodiscard]] int length() const;

Returns the length of this SGRDataBuffer.

©2025 05524F.sg (Singapore)

contact 05524F / report a bug / make a suggestion

about 05524F SINGAPORE values

list of 05524F projects