buffer issue
Naman Gupta <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.devel |
|---|---|
| Message-ID | <CAJ4hSG2dPtcxcgPwh5tY+4WQ-yVR7_0rwzcst7eB2y4c07m+cQ@mail.gmail.com> |
Hey,
Is there a way to concatenate 2 buffers eg.
csRef<iRenderBuffer> index_buffer1;
csRef<iRenderBuffer> index_buffer2;
csRef<iRenderBuffer> index_buffer3;
index_buffer3 having values of index_buffer2 followed by index_buffer3;
other way round would be to add values to array of buffer then use
index_buffer3->CopyInto (tris.GetArray(), tris.GetSize()*3);
i don't know if it okay to do so.
or is it possible to directly manipulate bufferHolder?
-Naman
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop