Re: FxPlug 2: createTexture and createPBuffer
Re: FxPlug 2: createTexture and createPBuffer
- Subject: Re: FxPlug 2: createTexture and createPBuffer
- From: Darrin Cardani <email@hidden>
- Date: Fri, 24 Jun 2011 14:46:10 -0700
Garrick,
Yes, they are documented in the missing docs. For -createTexture:, we pass the pixels argument to glTexImage2D (), so yes it can be nil. -createPBuffer: calls glGenBuffers () passing it the pointer to the buffer ID that you pass in. It then calls glBindBuffer () and binds it to the target.
Darrin
On Jun 24, 2011, at 1:53 PM, Garrick Meeker wrote:
> Are these documented in the missing docs? Specifically, I'd like to know if createTexture's 'pixels' argument can be NULL (when the image isn't coming from memory), and what does createPBuffer do? Obviously it's a GLuint not a CGLPBufferObj, but is this a framebuffer, renderbuffer, PBO?
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Pro-apps-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Darrin Cardani
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden