MeshToVertexBuffer


This object has been removed in release 10.0.0.

Copy 3D geometry from mesh to OpenGL video memory. Proper vertex array object(VAO) and vertex buffer object(VBO) should be bound before calling this function.

size_t MeshToVertexBuffer(// Return triangle count 
        standard::windows::opengl::IOpenGL *graphics, // Native graphics interface 
        const Mesh &mesh, // Mesh with 3D geometry 
        bool use_vertex_normal); // Whether copy individual vertex normals or use polygon ones
Namespace: nitisa::opengl
Include: OpenGL/Core/Utils.h