Package com.mojang.blaze3d.systems
Interface GpuDevice
- All Superinterfaces:
GpuDeviceExtension
- All Known Implementing Classes:
GlDevice,ValidationGpuDevice
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()createBuffer(Supplier<String> pLabel, int pUsage, int pSize) createBuffer(Supplier<String> pLabel, int pUsage, ByteBuffer pData) createTexture(String pLabel, int pUsage, TextureFormat pFormat, int pWidth, int pHeight, int pDepthOrLayers, int pMipLevels) createTexture(Supplier<String> pLabel, int pUsage, TextureFormat pFormat, int pWidth, int pHeight, int pDepthOrLayers, int pMipLevels) createTextureView(GpuTexture pTexture) createTextureView(GpuTexture pTexture, int pBaseMipLevel, int pMipLevels) intintbooleandefault CompiledRenderPipelineprecompilePipeline(RenderPipeline pPipeline) precompilePipeline(RenderPipeline pRenderPipeline, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) Methods inherited from interface net.neoforged.neoforge.client.extensions.blaze3d.GpuDeviceExtension
deviceProperties, enabledFeatures
-
Method Details
-
createCommandEncoder
CommandEncoder createCommandEncoder() -
createTexture
GpuTexture createTexture(@Nullable Supplier<String> pLabel, int pUsage, TextureFormat pFormat, int pWidth, int pHeight, int pDepthOrLayers, int pMipLevels) -
createTexture
GpuTexture createTexture(@Nullable String pLabel, int pUsage, TextureFormat pFormat, int pWidth, int pHeight, int pDepthOrLayers, int pMipLevels) -
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 pRenderPipeline, @Nullable BiFunction<ResourceLocation, ShaderType, String> pShaderSource) -
clearPipelineCache
void clearPipelineCache() -
getEnabledExtensions
-
close
void close()
-