Searched refs:texUnit (Results 1 – 2 of 2) sorted by relevance
73 private int texUnit = 0; field in MaterialLoader139 textures[texUnit].setImage(loadedTexture.getImage()); in readTextureImage()140 textures[texUnit].setMinFilter(loadedTexture.getMinFilter()); in readTextureImage()141 textures[texUnit].setKey(loadedTexture.getKey()); in readTextureImage()144 textures[texUnit].setWrap(WrapMode.Repeat); in readTextureImage()146 textures[texUnit].setName(texName); in readTextureImage()149 textures[texUnit].setName(texKey.getName()); in readTextureImage()153 textures[texUnit].setImage(PlaceholderAssets.getPlaceholderImage()); in readTextureImage()165 textures[texUnit].setWrap(WrapMode.Repeat); in readTextureUnitStatement()167 textures[texUnit].setWrap(WrapMode.Clamp); in readTextureUnitStatement()[all …]
432 int texUnit = ((MatParamTexture) matParam).getUnit(); in clearParam() local437 if (texParam.getUnit() > texUnit) { in clearParam()457 int texUnit = val.getUnit(); in clearTextureParam() local463 if (texParam.getUnit() > texUnit) { in clearTextureParam()