Class ValidationGpuTexture
java.lang.Object
com.mojang.blaze3d.textures.GpuTexture
net.neoforged.neoforge.client.blaze3d.validation.ValidationGpuTexture
- All Implemented Interfaces:
AutoCloseable
Validation wrapper around GpuTexture
Currently this class is boilerplate
Currently this class is boilerplate
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mojang.blaze3d.textures.GpuTexture
GpuTexture.Usage -
Field Summary
FieldsFields inherited from class com.mojang.blaze3d.textures.GpuTexture
RESERVED_USAGE_BITS, USAGE_COPY_DST, USAGE_COPY_SRC, USAGE_CUBEMAP_COMPATIBLE, USAGE_RENDER_ATTACHMENT, USAGE_TEXTURE_BINDING -
Constructor Summary
ConstructorsConstructorDescriptionValidationGpuTexture(GpuTexture realTexture, GpuDeviceUsageValidator validator) -
Method Summary
Methods inherited from class com.mojang.blaze3d.textures.GpuTexture
getDepthOrLayers, getFormat, getHeight, getLabel, getMipLevels, getWidth, usage
-
Field Details
-
realTexture
-
validator
-
-
Constructor Details
-
ValidationGpuTexture
-
-
Method Details
-
getRealTexture
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGpuTexture
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classGpuTexture
-