RGBA Buffer

On 25/01/2016 at 10:59, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Language(s) :     C++  ;

Hey! Is it possible in VideoPostData::AllocateBuffer() to allocate an RGBA buffer? (as opposed to a seperate
RGB and Alpha buffer).


On 26/01/2016 at 05:42, xxxxxxxx wrote:

Hi Niklas,

Do you want to create a custom RGBA buffer with Render::AllocateBufferFX() in VideoPostData::AllocateBuffers()?

On 26/01/2016 at 06:32, xxxxxxxx wrote:

Yes exactly Yannick. Is it possible? VPBUFFER_POSTEFFECT gives me only an RGB buffer and 
VPBUFFER_POSTEFFECT_MUL gives me only a Grayscale (Alpha) buffer.

If it is not, maybe there is some way to "associate" the two buffers so file formats that support it
will receive it as a single RGBA layer instead?

On 26/01/2016 at 07:32, xxxxxxxx wrote:

I'll ask the developers if that's possible.

On 27/01/2016 at 03:39, xxxxxxxx wrote:

Hi Niklas,

I'm afraid it's not possible to associate VPBUFFER_POSTEFFECT and VPBUFFER_POSTEFFECT_MUL buffers.