Package com.badlogic.gdx.graphics.glutils

Examples of com.badlogic.gdx.graphics.glutils.VertexBufferObjectSubData


    if (type == VertexDataType.VertexBufferObject || Mesh.forceVBO) {
      vertices = new VertexBufferObject(isStatic, maxVertices, attributes);
      indices = new IndexBufferObject(isStatic, maxIndices);
      isVertexArray = false;
    } else if (type == VertexDataType.VertexBufferObjectSubData) {
      vertices = new VertexBufferObjectSubData(isStatic, maxVertices, attributes);
      indices = new IndexBufferObjectSubData(isStatic, maxIndices);
      isVertexArray = false;
    } else {
      vertices = new VertexArray(maxVertices, attributes);
      indices = new IndexArray(maxIndices);
View Full Code Here


    if (type == VertexDataType.VertexBufferObject) {
      vertices = new VertexBufferObject(isStatic, maxVertices, attributes);
      indices = new IndexBufferObject(isStatic, maxIndices);
      isVertexArray = false;
    } else if (type == VertexDataType.VertexBufferObjectSubData) {
      vertices = new VertexBufferObjectSubData(isStatic, maxVertices, attributes);
      indices = new IndexBufferObjectSubData(isStatic, maxIndices);
      isVertexArray = false;
    } else {
      vertices = new VertexArray(maxVertices, attributes);
      indices = new IndexArray(maxIndices);
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.glutils.VertexBufferObjectSubData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.