Class RenderPearlTexture
java.lang.Object
net.neoforged.neoforge.client.loading.earlydisplay.RenderPearlTexture
- All Implemented Interfaces:
AutoCloseable, net.neoforged.fml.earlydisplay.render.backend.ELSTexture
final class RenderPearlTexture
extends Object
implements net.neoforged.fml.earlydisplay.render.backend.ELSTexture
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GpuTextureprivate final GpuTextureViewprivate final net.neoforged.fml.earlydisplay.render.backend.TextureFormat(package private) final GpuSampler -
Constructor Summary
ConstructorsConstructorDescriptionRenderPearlTexture(net.neoforged.fml.earlydisplay.render.backend.TextureFormat format, GpuTexture b3dTexture, GpuTextureView b3dTextureView, GpuSampler sampler) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()net.neoforged.fml.earlydisplay.render.backend.TextureFormatformat()intheight()(package private) GpuTextureunwrap()(package private) GpuTextureViewview()intwidth()
-
Field Details
-
format
private final net.neoforged.fml.earlydisplay.render.backend.TextureFormat format -
b3dTexture
-
b3dTextureView
-
sampler
-
-
Constructor Details
-
RenderPearlTexture
RenderPearlTexture(net.neoforged.fml.earlydisplay.render.backend.TextureFormat format, GpuTexture b3dTexture, GpuTextureView b3dTextureView, GpuSampler sampler)
-
-
Method Details
-
width
public int width()- Specified by:
widthin interfacenet.neoforged.fml.earlydisplay.render.backend.ELSTexture
-
height
public int height()- Specified by:
heightin interfacenet.neoforged.fml.earlydisplay.render.backend.ELSTexture
-
format
public net.neoforged.fml.earlydisplay.render.backend.TextureFormat format()- Specified by:
formatin interfacenet.neoforged.fml.earlydisplay.render.backend.ELSTexture
-
unwrap
GpuTexture unwrap() -
view
GpuTextureView view() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacenet.neoforged.fml.earlydisplay.render.backend.ELSTexture
-