public void setVertexState(WorldRenderer.State state)
{
this.rawIntBuffer.clear();
this.func_181670_b(state.getRawBuffer().length);
this.rawIntBuffer.put(state.getRawBuffer());
this.vertexCount = state.getVertexCount();
this.vertexFormat = new VertexFormat(state.getVertexFormat());
if (state.stateQuadSprites != null)
{
if (this.quadSprites == null)
{
this.quadSprites = new TextureAtlasSprite[this.getBufferQuadSize()];
}
TextureAtlasSprite[] atextureatlassprite = state.stateQuadSprites;
System.arraycopy(atextureatlassprite, 0, this.quadSprites, 0, atextureatlassprite.length);
}
else
{
this.quadSprites = null;
}
}
WorldRenderer.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:BaseClient
作者:
评论列表
文章目录