mirror of
https://github.com/schrodinger/pymol-open-source.git
synced 2026-06-03 19:54:24 +08:00
26 lines
446 B
C
26 lines
446 B
C
#pragma once
|
|
|
|
enum class MemoryUsageProperty {
|
|
GpuOnly, ///< Keep in GPU Memory
|
|
CpuToGpu, ///< Usual Memcpy from CPU to GPU
|
|
GpuToCpu, ///< Readback from GPU to CPU
|
|
};
|
|
|
|
enum class VertexBufferLayout {
|
|
Separate, // multiple vbos
|
|
Sequential, // single vbo
|
|
Interleaved // single vbo
|
|
};
|
|
|
|
enum class GPUPrimitiveTopology
|
|
{
|
|
Triangles,
|
|
TriangleStrip,
|
|
TriangleFan,
|
|
Lines,
|
|
LinesStrip,
|
|
LineLoop,
|
|
Points,
|
|
Quads // depreated
|
|
};
|