Class VertexArrayCache.Emulated
java.lang.Object
com.mojang.blaze3d.opengl.VertexArrayCache
com.mojang.blaze3d.opengl.VertexArrayCache.Emulated
- Enclosing class:
VertexArrayCache
-
Nested Class Summary
Nested classes/interfaces inherited from class VertexArrayCache
VertexArrayCache.VertexArray -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<List<@Nullable VertexFormat>, VertexArrayCache.VertexArray> private final GlDebugLabel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbindVertexArray(VertexFormat[] vertexBindings, GpuBufferSlice[] vertexBuffers, VertexArrayCache.VertexArray lastBoundVertexArray) private static voidsetupCombinedAttributes(@Nullable VertexFormat[] vertexBindings, boolean enable, @Nullable GpuBufferSlice[] vertexBuffers) Methods inherited from class VertexArrayCache
create
-
Field Details
-
cache
-
debugLabels
-
-
Constructor Details
-
Emulated
-
-
Method Details
-
bindVertexArray
public VertexArrayCache.VertexArray bindVertexArray(VertexFormat[] vertexBindings, GpuBufferSlice[] vertexBuffers, VertexArrayCache.VertexArray lastBoundVertexArray) - Specified by:
bindVertexArrayin classVertexArrayCache
-
setupCombinedAttributes
private static void setupCombinedAttributes(@Nullable VertexFormat[] vertexBindings, boolean enable, @Nullable GpuBufferSlice[] vertexBuffers)
-