class CudaGlInterop
package quadrants
CUDA/OpenGL interop helpers for HashLink renderers.
The OpenGL buffer handle is intentionally typed as Dynamic so Quadrants does
not depend on hlsdl at the Haxe package level. hlsdl's sdl.GL.Buffer can be
passed directly.
Static methods
staticavailable(context:Context):Bool
Returns true when this Quadrants runtime can register OpenGL buffers with the CUDA context.
staticregisterBuffer(context:Context, glBuffer:Dynamic, byteSize:Int):CudaGlResource
Registers an OpenGL buffer with CUDA. The buffer must stay alive until unregister/dispose.