We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b380fd9 commit d630a7cCopy full SHA for d630a7c
chapter-20/chapter-20.md
@@ -860,7 +860,7 @@ We will need a new method to the set up the values for the materials uniform:
860
```java
861
public class RenderBuffers {
862
...
863
- public void setupMaterialsUniform(TextureCache textureCache, MaterialCache materialCache) {
+ private void setupMaterialsUniform(TextureCache textureCache, MaterialCache materialCache) {
864
List<Texture> textures = textureCache.getAll().stream().toList();
865
int numTextures = textures.size();
866
if (numTextures > MAX_TEXTURES) {
0 commit comments