Class ktxTexture_vtbl
- All Implemented Interfaces:
Pointer
struct ktxTexture_vtbl {
PFNKTEXDESTROY Destroy;
PFNKTEXGETIMAGEOFFSET GetImageOffset;
PFNKTEXGETDATASIZEUNCOMPRESSED GetDataSizeUncompressed;
PFNKTEXGETIMAGESIZE GetImageSize;
PFNKTEXGETLEVELSIZE GetLevelSize;
PFNKTEXITERATELEVELS IterateLevels;
PFNKTEXITERATELOADLEVELFACES IterateLoadLevelFaces;
PFNKTEXNEEDSTRANSCODING NeedsTranscoding;
PFNKTEXLOADIMAGEDATA LoadImageData;
PFNKTEXSETIMAGEFROMMEMORY SetImageFromMemory;
PFNKTEXSETIMAGEFROMSTDIOSTREAM SetImageFromStdioStream;
PFNKTEXWRITETOSTDIOSTREAM WriteToStdioStream;
PFNKTEXWRITETONAMEDFILE WriteToNamedFile;
PFNKTEXWRITETOMEMORY WriteToMemory;
PFNKTEXWRITETOSTREAM WriteToStream;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionktxTexture_vtbl(ByteBuffer container) Creates aktxTexture_vtblinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic ktxTexture_vtblcreate(long address) Returns a newktxTexture_vtblinstance for the specified memory address.static ktxTexture_vtbl.Buffercreate(long address, int capacity) Create aktxTexture_vtbl.Bufferinstance at the specified memory.static @Nullable ktxTexture_vtblcreateSafe(long address) static @Nullable ktxTexture_vtbl.BuffercreateSafe(long address, int capacity) longDestroy()longlonglonglonglonglonglongstatic longnDestroy(long struct) Unsafe version ofDestroy().longstatic longnGetDataSizeUncompressed(long struct) Unsafe version ofGetDataSizeUncompressed().static longnGetImageOffset(long struct) Unsafe version ofGetImageOffset().static longnGetImageSize(long struct) Unsafe version ofGetImageSize().static longnGetLevelSize(long struct) Unsafe version ofGetLevelSize().static longnIterateLevels(long struct) Unsafe version ofIterateLevels().static longnIterateLoadLevelFaces(long struct) Unsafe version ofIterateLoadLevelFaces().static longnLoadImageData(long struct) Unsafe version ofLoadImageData().static longnNeedsTranscoding(long struct) Unsafe version ofNeedsTranscoding().static longnSetImageFromMemory(long struct) Unsafe version ofSetImageFromMemory().static longnSetImageFromStdioStream(long struct) Unsafe version ofSetImageFromStdioStream().static longnWriteToMemory(long struct) Unsafe version ofWriteToMemory().static longnWriteToNamedFile(long struct) Unsafe version ofWriteToNamedFile().static longnWriteToStdioStream(long struct) Unsafe version ofWriteToStdioStream().static longnWriteToStream(long struct) Unsafe version ofWriteToStream().longlongintsizeof()Returnssizeof(struct).longlonglonglongMethods inherited from class Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
DESTROY
public static final int DESTROYThe struct member offsets. -
GETIMAGEOFFSET
public static final int GETIMAGEOFFSETThe struct member offsets. -
GETDATASIZEUNCOMPRESSED
public static final int GETDATASIZEUNCOMPRESSEDThe struct member offsets. -
GETIMAGESIZE
public static final int GETIMAGESIZEThe struct member offsets. -
GETLEVELSIZE
public static final int GETLEVELSIZEThe struct member offsets. -
ITERATELEVELS
public static final int ITERATELEVELSThe struct member offsets. -
ITERATELOADLEVELFACES
public static final int ITERATELOADLEVELFACESThe struct member offsets. -
NEEDSTRANSCODING
public static final int NEEDSTRANSCODINGThe struct member offsets. -
LOADIMAGEDATA
public static final int LOADIMAGEDATAThe struct member offsets. -
SETIMAGEFROMMEMORY
public static final int SETIMAGEFROMMEMORYThe struct member offsets. -
SETIMAGEFROMSTDIOSTREAM
public static final int SETIMAGEFROMSTDIOSTREAMThe struct member offsets. -
WRITETOSTDIOSTREAM
public static final int WRITETOSTDIOSTREAMThe struct member offsets. -
WRITETONAMEDFILE
public static final int WRITETONAMEDFILEThe struct member offsets. -
WRITETOMEMORY
public static final int WRITETOMEMORYThe struct member offsets. -
WRITETOSTREAM
public static final int WRITETOSTREAMThe struct member offsets.
-
-
Constructor Details
-
ktxTexture_vtbl
Creates aktxTexture_vtblinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<ktxTexture_vtbl>
-
Destroy
- Returns:
- the value of the
Destroyfield.
-
GetImageOffset
- Returns:
- the value of the
GetImageOffsetfield.
-
GetDataSizeUncompressed
- Returns:
- the value of the
GetDataSizeUncompressedfield.
-
GetImageSize
- Returns:
- the value of the
GetImageSizefield.
-
GetLevelSize
- Returns:
- the value of the
GetLevelSizefield.
-
IterateLevels
- Returns:
- the value of the
IterateLevelsfield.
-
IterateLoadLevelFaces
- Returns:
- the value of the
IterateLoadLevelFacesfield.
-
NeedsTranscoding
- Returns:
- the value of the
NeedsTranscodingfield.
-
LoadImageData
- Returns:
- the value of the
LoadImageDatafield.
-
SetImageFromMemory
- Returns:
- the value of the
SetImageFromMemoryfield.
-
SetImageFromStdioStream
- Returns:
- the value of the
SetImageFromStdioStreamfield.
-
WriteToStdioStream
- Returns:
- the value of the
WriteToStdioStreamfield.
-
WriteToNamedFile
- Returns:
- the value of the
WriteToNamedFilefield.
-
WriteToMemory
- Returns:
- the value of the
WriteToMemoryfield.
-
WriteToStream
- Returns:
- the value of the
WriteToStreamfield.
-
create
Returns a newktxTexture_vtblinstance for the specified memory address. -
createSafe
-
create
Create aktxTexture_vtbl.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
nDestroy
public static long nDestroy(long struct) Unsafe version ofDestroy(). -
nGetImageOffset
public static long nGetImageOffset(long struct) Unsafe version ofGetImageOffset(). -
nGetDataSizeUncompressed
public static long nGetDataSizeUncompressed(long struct) Unsafe version ofGetDataSizeUncompressed(). -
nGetImageSize
public static long nGetImageSize(long struct) Unsafe version ofGetImageSize(). -
nGetLevelSize
public static long nGetLevelSize(long struct) Unsafe version ofGetLevelSize(). -
nIterateLevels
public static long nIterateLevels(long struct) Unsafe version ofIterateLevels(). -
nIterateLoadLevelFaces
public static long nIterateLoadLevelFaces(long struct) Unsafe version ofIterateLoadLevelFaces(). -
nNeedsTranscoding
public static long nNeedsTranscoding(long struct) Unsafe version ofNeedsTranscoding(). -
nLoadImageData
public static long nLoadImageData(long struct) Unsafe version ofLoadImageData(). -
nSetImageFromMemory
public static long nSetImageFromMemory(long struct) Unsafe version ofSetImageFromMemory(). -
nSetImageFromStdioStream
public static long nSetImageFromStdioStream(long struct) Unsafe version ofSetImageFromStdioStream(). -
nWriteToStdioStream
public static long nWriteToStdioStream(long struct) Unsafe version ofWriteToStdioStream(). -
nWriteToNamedFile
public static long nWriteToNamedFile(long struct) Unsafe version ofWriteToNamedFile(). -
nWriteToMemory
public static long nWriteToMemory(long struct) Unsafe version ofWriteToMemory(). -
nWriteToStream
public static long nWriteToStream(long struct) Unsafe version ofWriteToStream().
-