Class AbstractTextureArray
java.lang.Object
dev.pfaff.altargui.texture.AbstractTextureArray
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
TextureArray
,TripleBufferedTextureArray
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
bindAndAllocate
(int width, int height, int layerCount, TextureOptions options) The texture array will be bound and unbound by this method.abstract void
bindAndUpload
(ImageSrc image, TextureHandle handle, int xOffset, int yOffset, int width, int height) The texture array will be bound and unbound by this method.abstract InfallibleAutoClosable
bound()
abstract void
close()
abstract void
dump()
-
Constructor Details
-
AbstractTextureArray
public AbstractTextureArray()
-
-
Method Details
-
bound
-
bindAndAllocate
The texture array will be bound and unbound by this method. -
bindAndUpload
public abstract void bindAndUpload(ImageSrc image, TextureHandle handle, int xOffset, int yOffset, int width, int height) The texture array will be bound and unbound by this method. -
close
public abstract void close()- Specified by:
close
in interfaceAutoCloseable
-
dump
public abstract void dump()
-