Package com.mojang.blaze3d.systems
Interface GpuDevice
- All Known Implementing Classes:
GlBackend
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()createBuffer(@Nullable Supplier<String> supplier, BufferType bufferType, BufferUsage bufferUsage, int int2) createBuffer(@Nullable Supplier<String> supplier, BufferType bufferType, BufferUsage bufferUsage, ByteBuffer byteBuffer) createTexture(@Nullable String string, TextureFormat textureFormat, int int2, int int3, int int4) createTexture(@Nullable Supplier<String> supplier, TextureFormat textureFormat, int int2, int int3, int int4) intbooleandefault CompiledRenderPipelineprecompilePipeline(RenderPipeline renderPipeline) precompilePipeline(RenderPipeline renderPipeline, @Nullable BiFunction<Identifier, ShaderType, String> biFunction)
-
Method Details
-
createCommandEncoder
CommandEncoder createCommandEncoder() -
createTexture
GpuTexture createTexture(@Nullable @Nullable Supplier<String> supplier, TextureFormat textureFormat, int int2, int int3, int int4) -
createTexture
GpuTexture createTexture(@Nullable @Nullable String string, TextureFormat textureFormat, int int2, int int3, int int4) -
createBuffer
GpuBuffer createBuffer(@Nullable @Nullable Supplier<String> supplier, BufferType bufferType, BufferUsage bufferUsage, int int2) -
createBuffer
GpuBuffer createBuffer(@Nullable @Nullable Supplier<String> supplier, BufferType bufferType, BufferUsage bufferUsage, ByteBuffer byteBuffer) -
getImplementationInformation
String getImplementationInformation() -
getLastDebugMessages
-
isDebuggingEnabled
boolean isDebuggingEnabled() -
getVendor
String getVendor() -
getBackendName
String getBackendName() -
getVersion
String getVersion() -
getRenderer
String getRenderer() -
getMaxTextureSize
int getMaxTextureSize() -
precompilePipeline
-
precompilePipeline
CompiledRenderPipeline precompilePipeline(RenderPipeline renderPipeline, @Nullable @Nullable BiFunction<Identifier, ShaderType, String> biFunction) -
clearPipelineCache
void clearPipelineCache() -
getEnabledExtensions
-
close
void close()
-