Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Introducing Mesh API — Gideros Forum

Introducing Mesh API

atilimatilim Maintainer
edited September 2012 in Roadmap
Hi all,

I've implemented Mesh API and I'll be available with the next version. Here is the API:
Mesh.new
 
Mesh:setVertex
Mesh:setIndex
Mesh:setColor
Mesh:setTextureCoordinate
 
Mesh:setVertices
Mesh:setIndices
Mesh:setColors
Mesh:setTextureCoordinates
 
Mesh:setVertexBuffer
Mesh:setIndexBuffer
Mesh:setColorBuffer
Mesh:setTextureCoordinateBuffer
 
Mesh:clearVertexBuffer
Mesh:clearIndexBuffer
Mesh:clearColorBuffer
Mesh:clearTextureCoordinateBuffer
 
Mesh:resizeVertexBuffer
Mesh:resizeIndexBuffer
Mesh:resizeColorBuffer
Mesh:resizeTextureCoordinateBuffer
 
Mesh:setTexture
Mesh:clearTexture
It basically consists of 4 buffers: vertex, index, color (optional), textureCoordinate (optional) and a texture (optional) and it provides more than one way to set/modify these buffers.

Likes: techdojo, zaniar, ali3a

+1 -1 (+3 / -0 )Share on Facebook

Comments

Sign In or Register to comment.