EntityRenderer.java 文件源码

java
阅读 18 收藏 0 点赞 0 评论 0

项目:4Space-5 作者:
public EntityRenderer(Minecraft p_i45076_1_, IResourceManager p_i45076_2_)
{
    this.shaderIndex = shaderCount;
    this.cameraZoom = 1.0D;
    this.prevFrameTime = Minecraft.getSystemTime();
    this.random = new Random();
    this.fogColorBuffer = GLAllocation.createDirectFloatBuffer(16);
    this.mc = p_i45076_1_;
    this.resourceManager = p_i45076_2_;
    this.theMapItemRenderer = new MapItemRenderer(p_i45076_1_.getTextureManager());
    this.itemRenderer = new ItemRenderer(p_i45076_1_);
    this.lightmapTexture = new DynamicTexture(16, 16);
    this.locationLightMap = p_i45076_1_.getTextureManager().getDynamicTextureLocation("lightMap", this.lightmapTexture);
    this.lightmapColors = this.lightmapTexture.getTextureData();
    this.theShaderGroup = null;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号