Class VertexArrayCache
java.lang.Object
com.mojang.blaze3d.opengl.VertexArrayCache
- Direct Known Subclasses:
VertexArrayCache.Emulated, VertexArrayCache.Separate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract VertexArrayCache.VertexArraybindVertexArray(@Nullable VertexFormat[] vertexBindings, @Nullable GpuBufferSlice[] vertexBuffers, @Nullable VertexArrayCache.VertexArray lastBoundVertexArray) static VertexArrayCachecreate(GLCapabilities capabilities, GlDebugLabel debugLabels, Set<String> enabledExtensions)
-
Constructor Details
-
VertexArrayCache
public VertexArrayCache()
-
-
Method Details
-
create
public static VertexArrayCache create(GLCapabilities capabilities, GlDebugLabel debugLabels, Set<String> enabledExtensions) -
bindVertexArray
public abstract VertexArrayCache.VertexArray bindVertexArray(@Nullable VertexFormat[] vertexBindings, @Nullable GpuBufferSlice[] vertexBuffers, @Nullable VertexArrayCache.VertexArray lastBoundVertexArray)
-