Top Description Inners Fields Constructors Methods
org.lwjgl.util.ktx

public Class ktxTexture_vtbl

extends Struct<ktxTexture_vtbl>
Class Inheritance
Annotations
@NativeType:struct ktxTexture_vtbl
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Table of virtual ktxTexture methods.

Layout


struct ktxTexture_vtbl {
    PFNKTEXDESTROY Destroy;
    PFNKTEXGETIMAGEOFFSET GetImageOffset;
    PFNKTEXGETDATASIZEUNCOMPRESSED GetDataSizeUncompressed;
    PFNKTEXGETIMAGESIZE GetImageSize;
    PFNKTEXITERATELEVELS IterateLevels;
    PFNKTEXITERATELOADLEVELFACES IterateLoadLevelFaces;
    PFNKTEXNEEDSTRANSCODING NeedsTranscoding;
    PFNKTEXLOADIMAGEDATA LoadImageData;
    PFNKTEXSETIMAGEFROMMEMORY SetImageFromMemory;
    PFNKTEXSETIMAGEFROMSTDIOSTREAM SetImageFromStdioStream;
    PFNKTEXWRITETOSTDIOSTREAM WriteToStdioStream;
    PFNKTEXWRITETONAMEDFILE WriteToNamedFile;
    PFNKTEXWRITETOMEMORY WriteToMemory;
    PFNKTEXWRITETOSTREAM WriteToStream;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DESTROY

The struct member offsets.

public static final int
GETDATASIZEUNCOMPRESSED

The struct member offsets.

public static final int
GETIMAGEOFFSET

The struct member offsets.

public static final int
GETIMAGESIZE

The struct member offsets.

public static final int
ITERATELEVELS

The struct member offsets.

public static final int
ITERATELOADLEVELFACES

The struct member offsets.

public static final int
LOADIMAGEDATA

The struct member offsets.

public static final int
NEEDSTRANSCODING

The struct member offsets.

public static final int
SETIMAGEFROMMEMORY

The struct member offsets.

public static final int
SETIMAGEFROMSTDIOSTREAM

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
WRITETOMEMORY

The struct member offsets.

public static final int
WRITETONAMEDFILE

The struct member offsets.

public static final int
WRITETOSTDIOSTREAM

The struct member offsets.

public static final int
WRITETOSTREAM

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
ktxTexture_vtbl(long address, ByteBuffer container)

public
ktxTexture_vtbl(ByteBuffer container)

Creates a ktxTexture_vtbl instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
protected ktxTexture_vtbl
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static ktxTexture_vtbl
create(long address)

Returns a new ktxTexture_vtbl instance for the specified memory address.

public static ktxTexture_vtbl.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a ktxTexture_vtbl.Buffer instance at the specified memory.

public static ktxTexture_vtbl
createSafe(long address)

Like create, but returns null if address is NULL.

public static ktxTexture_vtbl.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long

Returns:

the value of the Destroy field.
Destroy
()

public long

Returns:

the value of the GetDataSizeUncompressed field.
GetDataSizeUncompressed
()

public long

Returns:

the value of the GetImageOffset field.
GetImageOffset
()

public long

Returns:

the value of the GetImageSize field.
GetImageSize
()

public long

Returns:

the value of the IterateLevels field.
IterateLevels
()

public long

Returns:

the value of the IterateLoadLevelFaces field.
IterateLoadLevelFaces
()

public long

Returns:

the value of the LoadImageData field.
LoadImageData
()

public static long
nDestroy(long struct)

Unsafe version of Destroy.

public long

Returns:

the value of the NeedsTranscoding field.
NeedsTranscoding
()

public static long
nGetDataSizeUncompressed(long struct)

Unsafe version of GetDataSizeUncompressed.

public static long
nGetImageOffset(long struct)

Unsafe version of GetImageOffset.

public static long
nGetImageSize(long struct)

Unsafe version of GetImageSize.

public static long
nIterateLevels(long struct)

Unsafe version of IterateLevels.

public static long
nIterateLoadLevelFaces(long struct)

Unsafe version of IterateLoadLevelFaces.

public static long
nLoadImageData(long struct)

Unsafe version of LoadImageData.

public static long
nNeedsTranscoding(long struct)

Unsafe version of NeedsTranscoding.

public static long
nSetImageFromMemory(long struct)

Unsafe version of SetImageFromMemory.

public static long
nSetImageFromStdioStream(long struct)

Unsafe version of SetImageFromStdioStream.

public static long
nWriteToMemory(long struct)

Unsafe version of WriteToMemory.

public static long
nWriteToNamedFile(long struct)

Unsafe version of WriteToNamedFile.

public static long
nWriteToStdioStream(long struct)

Unsafe version of WriteToStdioStream.

public static long
nWriteToStream(long struct)

Unsafe version of WriteToStream.

public long

Returns:

the value of the SetImageFromMemory field.
SetImageFromMemory
()

public long

Returns:

the value of the SetImageFromStdioStream field.
SetImageFromStdioStream
()

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public long

Returns:

the value of the WriteToMemory field.
WriteToMemory
()

public long

Returns:

the value of the WriteToNamedFile field.
WriteToNamedFile
()

public long

Returns:

the value of the WriteToStdioStream field.
WriteToStdioStream
()

public long

Returns:

the value of the WriteToStream field.
WriteToStream
()

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

DESTROYback to summary
public static final int DESTROY

The struct member offsets.

GETDATASIZEUNCOMPRESSEDback to summary
public static final int GETDATASIZEUNCOMPRESSED

The struct member offsets.

GETIMAGEOFFSETback to summary
public static final int GETIMAGEOFFSET

The struct member offsets.

GETIMAGESIZEback to summary
public static final int GETIMAGESIZE

The struct member offsets.

ITERATELEVELSback to summary
public static final int ITERATELEVELS

The struct member offsets.

ITERATELOADLEVELFACESback to summary
public static final int ITERATELOADLEVELFACES

The struct member offsets.

LOADIMAGEDATAback to summary
public static final int LOADIMAGEDATA

The struct member offsets.

NEEDSTRANSCODINGback to summary
public static final int NEEDSTRANSCODING

The struct member offsets.

SETIMAGEFROMMEMORYback to summary
public static final int SETIMAGEFROMMEMORY

The struct member offsets.

SETIMAGEFROMSTDIOSTREAMback to summary
public static final int SETIMAGEFROMSTDIOSTREAM

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

WRITETOMEMORYback to summary
public static final int WRITETOMEMORY

The struct member offsets.

WRITETONAMEDFILEback to summary
public static final int WRITETONAMEDFILE

The struct member offsets.

WRITETOSTDIOSTREAMback to summary
public static final int WRITETOSTDIOSTREAM

The struct member offsets.

WRITETOSTREAMback to summary
public static final int WRITETOSTREAM

The struct member offsets.

Constructor Detail

ktxTexture_vtblback to summary
protected ktxTexture_vtbl(long address, ByteBuffer container)
ktxTexture_vtblback to summary
public ktxTexture_vtbl(ByteBuffer container)

Creates a ktxTexture_vtbl instance at the current position of the specified ByteBuffer container. 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 Detail

createback to summary
protected ktxTexture_vtbl create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static ktxTexture_vtbl create(long address)

Returns a new ktxTexture_vtbl instance for the specified memory address.

createback to summary
public static ktxTexture_vtbl.Buffer create(long address, int capacity)

Create a ktxTexture_vtbl.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static ktxTexture_vtbl createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static ktxTexture_vtbl.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
Destroyback to summary
public long Destroy()
Returns:long

the value of the Destroy field.

Annotations
@NativeType:PFNKTEXDESTROY
GetDataSizeUncompressedback to summary
public long GetDataSizeUncompressed()
Returns:long

the value of the GetDataSizeUncompressed field.

Annotations
@NativeType:PFNKTEXGETDATASIZEUNCOMPRESSED
GetImageOffsetback to summary
public long GetImageOffset()
Returns:long

the value of the GetImageOffset field.

Annotations
@NativeType:PFNKTEXGETIMAGEOFFSET
GetImageSizeback to summary
public long GetImageSize()
Returns:long

the value of the GetImageSize field.

Annotations
@NativeType:PFNKTEXGETIMAGESIZE
IterateLevelsback to summary
public long IterateLevels()
Returns:long

the value of the IterateLevels field.

Annotations
@NativeType:PFNKTEXITERATELEVELS
IterateLoadLevelFacesback to summary
public long IterateLoadLevelFaces()
Returns:long

the value of the IterateLoadLevelFaces field.

Annotations
@NativeType:PFNKTEXITERATELOADLEVELFACES
LoadImageDataback to summary
public long LoadImageData()
Returns:long

the value of the LoadImageData field.

Annotations
@NativeType:PFNKTEXLOADIMAGEDATA
nDestroyback to summary
public static long nDestroy(long struct)

Unsafe version of Destroy.

NeedsTranscodingback to summary
public long NeedsTranscoding()
Returns:long

the value of the NeedsTranscoding field.

Annotations
@NativeType:PFNKTEXNEEDSTRANSCODING
nGetDataSizeUncompressedback to summary
public static long nGetDataSizeUncompressed(long struct)

Unsafe version of GetDataSizeUncompressed.

nGetImageOffsetback to summary
public static long nGetImageOffset(long struct)

Unsafe version of GetImageOffset.

nGetImageSizeback to summary
public static long nGetImageSize(long struct)

Unsafe version of GetImageSize.

nIterateLevelsback to summary
public static long nIterateLevels(long struct)

Unsafe version of IterateLevels.

nIterateLoadLevelFacesback to summary
public static long nIterateLoadLevelFaces(long struct)

Unsafe version of IterateLoadLevelFaces.

nLoadImageDataback to summary
public static long nLoadImageData(long struct)

Unsafe version of LoadImageData.

nNeedsTranscodingback to summary
public static long nNeedsTranscoding(long struct)

Unsafe version of NeedsTranscoding.

nSetImageFromMemoryback to summary
public static long nSetImageFromMemory(long struct)

Unsafe version of SetImageFromMemory.

nSetImageFromStdioStreamback to summary
public static long nSetImageFromStdioStream(long struct)

Unsafe version of SetImageFromStdioStream.

nWriteToMemoryback to summary
public static long nWriteToMemory(long struct)

Unsafe version of WriteToMemory.

nWriteToNamedFileback to summary
public static long nWriteToNamedFile(long struct)

Unsafe version of WriteToNamedFile.

nWriteToStdioStreamback to summary
public static long nWriteToStdioStream(long struct)

Unsafe version of WriteToStdioStream.

nWriteToStreamback to summary
public static long nWriteToStream(long struct)

Unsafe version of WriteToStream.

SetImageFromMemoryback to summary
public long SetImageFromMemory()
Returns:long

the value of the SetImageFromMemory field.

Annotations
@NativeType:PFNKTEXSETIMAGEFROMMEMORY
SetImageFromStdioStreamback to summary
public long SetImageFromStdioStream()
Returns:long

the value of the SetImageFromStdioStream field.

Annotations
@NativeType:PFNKTEXSETIMAGEFROMSTDIOSTREAM
sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
WriteToMemoryback to summary
public long WriteToMemory()
Returns:long

the value of the WriteToMemory field.

Annotations
@NativeType:PFNKTEXWRITETOMEMORY
WriteToNamedFileback to summary
public long WriteToNamedFile()
Returns:long

the value of the WriteToNamedFile field.

Annotations
@NativeType:PFNKTEXWRITETONAMEDFILE
WriteToStdioStreamback to summary
public long WriteToStdioStream()
Returns:long

the value of the WriteToStdioStream field.

Annotations
@NativeType:PFNKTEXWRITETOSTDIOSTREAM
WriteToStreamback to summary
public long WriteToStream()
Returns:long

the value of the WriteToStream field.

Annotations
@NativeType:PFNKTEXWRITETOSTREAM
org.lwjgl.util.ktx back to summary

public Class ktxTexture_vtbl.Buffer

extends StructBuffer<ktxTexture_vtbl, ktxTexture_vtbl.Buffer>
Class Inheritance

An array of ktxTexture_vtbl structs.

Field Summary

Modifier and TypeField and Description
private static final ktxTexture_vtbl

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new ktxTexture_vtbl.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the value of the Destroy field.
Destroy
()

public long

Returns:

the value of the GetDataSizeUncompressed field.
GetDataSizeUncompressed
()

protected ktxTexture_vtbl
public long

Returns:

the value of the GetImageOffset field.
GetImageOffset
()

public long

Returns:

the value of the GetImageSize field.
GetImageSize
()

public long

Returns:

the value of the IterateLevels field.
IterateLevels
()

public long

Returns:

the value of the IterateLoadLevelFaces field.
IterateLoadLevelFaces
()

public long

Returns:

the value of the LoadImageData field.
LoadImageData
()

public long

Returns:

the value of the NeedsTranscoding field.
NeedsTranscoding
()

protected ktxTexture_vtbl.Buffer
public long

Returns:

the value of the SetImageFromMemory field.
SetImageFromMemory
()

public long

Returns:

the value of the SetImageFromStdioStream field.
SetImageFromStdioStream
()

public long

Returns:

the value of the WriteToMemory field.
WriteToMemory
()

public long

Returns:

the value of the WriteToNamedFile field.
WriteToNamedFile
()

public long

Returns:

the value of the WriteToStdioStream field.
WriteToStdioStream
()

public long

Returns:

the value of the WriteToStream field.
WriteToStream
()

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final ktxTexture_vtbl ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new ktxTexture_vtbl.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by ktxTexture_vtbl#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

Destroyback to summary
public long Destroy()
Returns:long

the value of the Destroy field.

Annotations
@NativeType:PFNKTEXDESTROY
GetDataSizeUncompressedback to summary
public long GetDataSizeUncompressed()
Returns:long

the value of the GetDataSizeUncompressed field.

Annotations
@NativeType:PFNKTEXGETDATASIZEUNCOMPRESSED
getElementFactoryback to summary
protected ktxTexture_vtbl getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
GetImageOffsetback to summary
public long GetImageOffset()
Returns:long

the value of the GetImageOffset field.

Annotations
@NativeType:PFNKTEXGETIMAGEOFFSET
GetImageSizeback to summary
public long GetImageSize()
Returns:long

the value of the GetImageSize field.

Annotations
@NativeType:PFNKTEXGETIMAGESIZE
IterateLevelsback to summary
public long IterateLevels()
Returns:long

the value of the IterateLevels field.

Annotations
@NativeType:PFNKTEXITERATELEVELS
IterateLoadLevelFacesback to summary
public long IterateLoadLevelFaces()
Returns:long

the value of the IterateLoadLevelFaces field.

Annotations
@NativeType:PFNKTEXITERATELOADLEVELFACES
LoadImageDataback to summary
public long LoadImageData()
Returns:long

the value of the LoadImageData field.

Annotations
@NativeType:PFNKTEXLOADIMAGEDATA
NeedsTranscodingback to summary
public long NeedsTranscoding()
Returns:long

the value of the NeedsTranscoding field.

Annotations
@NativeType:PFNKTEXNEEDSTRANSCODING
selfback to summary
protected ktxTexture_vtbl.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
SetImageFromMemoryback to summary
public long SetImageFromMemory()
Returns:long

the value of the SetImageFromMemory field.

Annotations
@NativeType:PFNKTEXSETIMAGEFROMMEMORY
SetImageFromStdioStreamback to summary
public long SetImageFromStdioStream()
Returns:long

the value of the SetImageFromStdioStream field.

Annotations
@NativeType:PFNKTEXSETIMAGEFROMSTDIOSTREAM
WriteToMemoryback to summary
public long WriteToMemory()
Returns:long

the value of the WriteToMemory field.

Annotations
@NativeType:PFNKTEXWRITETOMEMORY
WriteToNamedFileback to summary
public long WriteToNamedFile()
Returns:long

the value of the WriteToNamedFile field.

Annotations
@NativeType:PFNKTEXWRITETONAMEDFILE
WriteToStdioStreamback to summary
public long WriteToStdioStream()
Returns:long

the value of the WriteToStdioStream field.

Annotations
@NativeType:PFNKTEXWRITETOSTDIOSTREAM
WriteToStreamback to summary
public long WriteToStream()
Returns:long

the value of the WriteToStream field.

Annotations
@NativeType:PFNKTEXWRITETOSTREAM