Login  Register

Re: Problems with creating a CLBuffer from existing DirectBuffer

Posted by Michael Bien on Jun 27, 2011; 1:49pm
URL: https://forum.jogamp.org/Problems-with-creating-a-CLBuffer-from-existing-DirectBuffer-tp3099461p3113752.html

  the shortcut for creating a direct allocated buffer with native byte
order is:

Buffers.newFooBuffer(size)

regards,
michael

On 06/27/2011 01:12 PM, barno [via jogamp] wrote:
>
> That solved it for me, thanks! (although it might be nicer if there is a jocl
> API)