Class TripleBufferedTextureArray
java.lang.Object
dev.pfaff.altargui.texture.AbstractTextureArray
dev.pfaff.altargui.texture.TripleBufferedTextureArray
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindAndAllocate
(int width, int height, int layerCount, TextureOptions options) The texture array will be bound and unbound by this method.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.bound()
void
close()
void
dump()
-
Field Details
-
TBS_COUNT
public static final byte TBS_COUNT- See Also:
-
-
Constructor Details
-
TripleBufferedTextureArray
public TripleBufferedTextureArray()
-
-
Method Details
-
bound
- Specified by:
bound
in classAbstractTextureArray
-
bindAndAllocate
Description copied from class:AbstractTextureArray
The texture array will be bound and unbound by this method.- Specified by:
bindAndAllocate
in classAbstractTextureArray
-
bindAndUpload
public void bindAndUpload(ImageSrc image, TextureHandle handle, int xOffset, int yOffset, int width, int height) Description copied from class:AbstractTextureArray
The texture array will be bound and unbound by this method.- Specified by:
bindAndUpload
in classAbstractTextureArray
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classAbstractTextureArray
-
dump
public void dump()- Specified by:
dump
in classAbstractTextureArray
-