Package com.io7m.calino.vanilla.internal
Class CLN1SectionWritableImageCube
java.lang.Object
com.io7m.calino.vanilla.internal.CLN1SectionWritableAbstract
com.io7m.calino.vanilla.internal.CLN1SectionWritableImageCube
- All Implemented Interfaces:
CLNSectionWritableImageCubeType
,CLNSectionWritableStandardType
,CLNSectionWritableType
,Closeable
,AutoCloseable
public final class CLN1SectionWritableImageCube
extends CLN1SectionWritableAbstract
implements CLNSectionWritableImageCubeType
A writable cube image section.
-
Constructor Summary
ConstructorsConstructorDescriptionCLN1SectionWritableImageCube
(com.io7m.jbssio.api.BSSWriterProviderType inWriters, com.io7m.jbssio.api.BSSWriterRandomAccessType inWriter, CLNWriteRequest inRequest, long inIdentifier, CLNOnCloseOperationType<CLNSectionWritableType> inOnClose) A writable cube image section. -
Method Summary
Modifier and TypeMethodDescriptioncreateMipMaps
(CLNImageCubeMipMapDeclarations mipMapCreate) Create a set of mipmaps in the image.Methods inherited from class com.io7m.calino.vanilla.internal.CLN1SectionWritableAbstract
close, identifier, offsetStart, offsetStartData, request, sectionDataChannel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.io7m.calino.api.CLNSectionWritableType
identifier, sectionDataChannel
-
Constructor Details
-
CLN1SectionWritableImageCube
public CLN1SectionWritableImageCube(com.io7m.jbssio.api.BSSWriterProviderType inWriters, com.io7m.jbssio.api.BSSWriterRandomAccessType inWriter, CLNWriteRequest inRequest, long inIdentifier, CLNOnCloseOperationType<CLNSectionWritableType> inOnClose) A writable cube image section.- Parameters:
inWriters
- A writer providerinOnClose
- A function executed on closinginRequest
- A write requestinIdentifier
- An identifierinWriter
- A writer
-
-
Method Details
-
createMipMaps
public CLWritableMipMapsCubeType createMipMaps(CLNImageCubeMipMapDeclarations mipMapCreate) throws IOException Description copied from interface:CLNSectionWritableImageCubeType
Create a set of mipmaps in the image.- Specified by:
createMipMaps
in interfaceCLNSectionWritableImageCubeType
- Parameters:
mipMapCreate
- The mipmap descriptions- Returns:
- An interface used to write mipmap data
- Throws:
IOException
- On errors
-