Class CLN1SectionWritableImageArray
java.lang.Object
com.io7m.calino.vanilla.internal.CLN1SectionWritableAbstract
com.io7m.calino.vanilla.internal.CLN1SectionWritableImageArray
- All Implemented Interfaces:
CLNSectionWritableImageArrayType, CLNSectionWritableStandardType, CLNSectionWritableType, Closeable, AutoCloseable
public final class CLN1SectionWritableImageArray
extends CLN1SectionWritableAbstract
implements CLNSectionWritableImageArrayType
A writable array image section.
-
Constructor Summary
ConstructorsConstructorDescriptionCLN1SectionWritableImageArray(com.io7m.jbssio.api.BSSWriterProviderType inWriters, com.io7m.jbssio.api.BSSWriterRandomAccessType inWriter, CLNWriteRequest inRequest, long inIdentifier, CLNOnCloseOperationType<CLNSectionWritableType> inOnClose) A writable 2D image section. -
Method Summary
Modifier and TypeMethodDescriptioncreateMipMaps(CLNImageArrayMipMapDeclarations mipMapCreate) Create a set of mipmaps in the image.Methods inherited from class CLN1SectionWritableAbstract
close, identifier, offsetStart, offsetStartData, request, sectionDataChannelMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CLNSectionWritableType
identifier, sectionDataChannel
-
Constructor Details
-
CLN1SectionWritableImageArray
public CLN1SectionWritableImageArray(com.io7m.jbssio.api.BSSWriterProviderType inWriters, com.io7m.jbssio.api.BSSWriterRandomAccessType inWriter, CLNWriteRequest inRequest, long inIdentifier, CLNOnCloseOperationType<CLNSectionWritableType> inOnClose) A writable 2D image section.- Parameters:
inWriters- A writer providerinWriter- A writerinRequest- A write requestinIdentifier- An identifierinOnClose- A function executed on closing
-
-
Method Details
-
createMipMaps
public CLWritableMipMapsArrayType createMipMaps(CLNImageArrayMipMapDeclarations mipMapCreate) throws IOException Description copied from interface:CLNSectionWritableImageArrayTypeCreate a set of mipmaps in the image.- Specified by:
createMipMapsin interfaceCLNSectionWritableImageArrayType- Parameters:
mipMapCreate- The mipmap descriptions- Returns:
- An interface used to write mipmap data
- Throws:
IOException- On errors
-