enum GpuBufferType
Determines in what way will a GpuBuffer be used in.
Values
| Name | Value | Description |
|---|---|---|
Vertex |
0 |
Contains mesh vertices and associated properties. |
Index |
1 |
Contains mesh indices that determine which vertices form a triangle. |
Uniform |
2 |
Contains GPU program parameters. |
SimpleStorage |
3 |
Contains arbitrary data, formatted as an array of primitive types using one of the supported buffer formats. |
StructuredStorage |
4 |
Contains arbitrary data, formatted as an array of structures. |
StagingWrite |
5 |
Special type of CPU writeable buffer type used only as a source of copy operations. |
StagingRead |
6 |
Special type of CPU readable buffer type used only as a destination of copy operations. |