Reply – Re: Problems with creating a CLBuffer from existing DirectBuffer
Your Name
Subject
Message
or Cancel
In Reply To
Re: Problems with creating a CLBuffer from existing DirectBuffer
— by Michael Bien Michael Bien
  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)