cgmen
cgmen

Reputation: 11

Port android open GL code to iPhone

How to port android open GL code to iPhone ? There are lot of bytebuffer, floatbuffer used in the code which i am not able to convert.

Upvotes: 1

Views: 223

Answers (1)

CarlLee
CarlLee

Reputation: 4182

bytebuffers/floatbuffers are simply byte arrays and float arrays but uses native allocation other than allocation in the JVM, which is more efficient. You can write your own class to wrap the functionalities of ByteBuffer/FloatBuffer in Objective-C.

Upvotes: 2

Related Questions