#include <stdlib.h>
Go to the source code of this file.
◆ ComputeResourceHandle
A backend-agnostic handle to a compute memory resource originating from an OpenGL resource.
- cudaGraphicsResource in CUDA
- cl_mem in OpenCL
- unsigned from standard cpu A backend-agnostic handle to a compute memory resource.
For example: CUDA device pointer, like float*, int* from cudaMalloc. A cl_mem* from OpenCL's clCreateBuffer
◆ BufferType
Enumerator |
---|
FORGE_IMAGE_BUFFER | OpenGL Pixel Buffer Object.
|
FORGE_VERTEX_BUFFER | OpenGL Vertex Buffer Object.
|