File StorageBuffer.h
FileList > buffers > StorageBuffer.h
Go to the source code of this file
OpenGL shader storage buffer object (SSBO) abstraction. More...
#include "Buffers.h"#include <vector>#include <cstring>
Classes
| Type | Name |
|---|---|
| class | StorageBuffer OpenGL shader storage buffer object wrapper. |
| struct | is_not_vector <typename T> Type trait to detect non-vector types. |
| struct | is_not_vector< std::vector< T, C > > <typename T, typename C> Specialization for std::vector (false for vectors). |
Public Types
| Type | Name |
|---|---|
| enum | SSBType Storage buffer data type classification. |
Detailed Description
StorageBuffer provides a RAII wrapper around an OpenGL SSBO for large read/write data accessible from shaders. Inherits copy, move, and deep-copy semantics from Buffers. Supports template-based operations for type-safe CPU↔GPU data transfer.
Note:
All OpenGL resources are released deterministically in the destructor.
Public Types Documentation
enum SSBType
Storage buffer data type classification.
enum SSBType {
NONE_LIST,
FLOAT_LIST,
INT_LIST,
VEC2_LIST,
VEC3_LIST,
CUSTOM_LIST
};
The documentation for this class was generated from the following file src/render/buffers/StorageBuffer.h