Package com.mojang.blaze3d.systems
Interface GpuDevice
- All Superinterfaces:
GpuDeviceExtension
- All Known Implementing Classes:
GlDevice,ValidationGpuDevice
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()createBuffer(Supplier<String> label, int usage, int size) createBuffer(Supplier<String> label, int usage, ByteBuffer data) createTexture(String label, int usage, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels) createTexture(Supplier<String> label, int usage, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels) createTextureView(GpuTexture texture) createTextureView(GpuTexture texture, int baseMipLevel, int mipLevels) intintbooleandefault CompiledRenderPipelineprecompilePipeline(RenderPipeline pipeline) precompilePipeline(RenderPipeline renderPipeline, BiFunction<ResourceLocation, ShaderType, String> shaderSource) Methods inherited from interface net.neoforged.neoforge.client.extensions.blaze3d.GpuDeviceExtension
deviceProperties, enabledFeatures
-
Method Details
-
createCommandEncoder
CommandEncoder createCommandEncoder() -
createTexture
GpuTexture createTexture(@Nullable Supplier<String> label, int usage, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels) -
createTexture
GpuTexture createTexture(@Nullable String label, int usage, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels) -
createTextureView
-
createTextureView
-
createBuffer
-
createBuffer
-
getImplementationInformation
String getImplementationInformation() -
getLastDebugMessages
-
isDebuggingEnabled
boolean isDebuggingEnabled() -
getVendor
String getVendor() -
getBackendName
String getBackendName() -
getVersion
String getVersion() -
getRenderer
String getRenderer() -
getMaxTextureSize
int getMaxTextureSize() -
getUniformOffsetAlignment
int getUniformOffsetAlignment() -
precompilePipeline
-
precompilePipeline
CompiledRenderPipeline precompilePipeline(RenderPipeline renderPipeline, @Nullable BiFunction<ResourceLocation, ShaderType, String> shaderSource) -
clearPipelineCache
void clearPipelineCache() -
getEnabledExtensions
-
close
void close()
-