with-mapped-cuda-buffer ( ..a cuda-buffer quot: ( ..a device-ptr size -- ..b ) -- ..b )


Vocabulary
cuda.gl

Inputs
cuda-bufferan object
quota quotation with stack effect ( ..a device-ptr size -- ..b )


Outputs
None

Definition


: with-mapped-cuda-buffer
( ..a cuda-buffer quot: ( ..a device-ptr size -- ..b ) -- ..b )
[ resource>> ] dip with-mapped-resource ; inline