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

public abstract Class ktxStream_read

extends Callback
implements ktxStream_readI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.ktx.ktxStream_readI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.ktx.ktxStream_read.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


KTX_error_code (*invoke) (
    ktxStream *str,
    void *dst,
    ktx_size_t const count
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
ktxStream_read(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static ktxStream_read

Returns:

the new ktxStream_read
create
(long functionPointer)

Creates a ktxStream_read instance from the specified function pointer.

public static ktxStream_read
create(ktxStream_readI instance)

Creates a ktxStream_read instance that delegates to the specified ktxStream_readI instance.

public static ktxStream_read
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

ktxStream_readback to summary
protected ktxStream_read()
ktxStream_readback to summary
pack-priv ktxStream_read(long functionPointer)

Method Detail

createback to summary
public static ktxStream_read create(long functionPointer)

Creates a ktxStream_read instance from the specified function pointer.

Returns:ktxStream_read

the new ktxStream_read

createback to summary
public static ktxStream_read create(ktxStream_readI instance)

Creates a ktxStream_read instance that delegates to the specified ktxStream_readI instance.

createSafeback to summary
public static ktxStream_read createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.ktx back to summary

private final Class ktxStream_read.Container

extends ktxStream_read
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final ktxStream_readI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, ktxStream_readI delegate)

Method Summary

Modifier and TypeMethod and Description
public int
invoke(long str, long dst, long count)

Implements org.lwjgl.util.ktx.ktxStream_readI.invoke.

Type for a pointer to a stream reading function.
Inherited from org.lwjgl.util.ktx.ktxStream_read:
createcreatecreateSafe

Field Detail

delegateback to summary
private final ktxStream_readI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, ktxStream_readI delegate)

Method Detail

invokeback to summary
public int invoke(long str, long dst, long count)

Implements org.lwjgl.util.ktx.ktxStream_readI.invoke.

Doc from org.lwjgl.util.ktx.ktxStream_readI.invoke.

Type for a pointer to a stream reading function.

Annotations
@Override