public VertexBufferObjectSubData(boolean paramBoolean, int paramInt, VertexAttribute[] paramArrayOfVertexAttribute)
{
this.isStatic = paramBoolean;
this.attributes = new VertexAttributes(paramArrayOfVertexAttribute);
this.byteBuffer = BufferUtils.newByteBuffer(paramInt * this.attributes.vertexSize);
this.isDirect = true;
if (paramBoolean);
for (int i = 35044; ; i = 35048)
{
this.usage = i;
this.buffer = this.byteBuffer.asFloatBuffer();
this.bufferHandle = createBufferObject();
this.buffer.flip();
this.byteBuffer.flip();
return;
}
}
VertexBufferObjectSubData.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:ingress-indonesia-dev
作者:
评论列表
文章目录