Top Description Inners Constructors Methods
org.lwjgl.assimp

public abstract Class AIFileReadProc

extends Callback
implements AIFileReadProcI
Class Inheritance
All Implemented Interfaces
org.lwjgl.assimp.AIFileReadProcI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.assimp.AIFileReadProc.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


size_t (*invoke) (
    struct aiFile *pFile,
    char *pBuffer,
    size_t size,
    size_t count
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static AIFileReadProc

Returns:

the new AIFileReadProc
create
(long functionPointer)

Creates a AIFileReadProc instance from the specified function pointer.

public static AIFileReadProc
create(AIFileReadProcI instance)

Creates a AIFileReadProc instance that delegates to the specified AIFileReadProcI instance.

public static AIFileReadProc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

AIFileReadProcback to summary
protected AIFileReadProc()
AIFileReadProcback to summary
pack-priv AIFileReadProc(long functionPointer)

Method Detail

createback to summary
public static AIFileReadProc create(long functionPointer)

Creates a AIFileReadProc instance from the specified function pointer.

Returns:AIFileReadProc

the new AIFileReadProc

createback to summary
public static AIFileReadProc create(AIFileReadProcI instance)

Creates a AIFileReadProc instance that delegates to the specified AIFileReadProcI instance.

createSafeback to summary
public static AIFileReadProc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.assimp back to summary

private final Class AIFileReadProc.Container

extends AIFileReadProc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final AIFileReadProcI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long
file pointer to read from
pFile
,
long
the buffer to read the values
pBuffer
,
long
size in bytes of each element to be read
size
,
long
number of elements to be read
count
)

Implements org.lwjgl.assimp.AIFileReadProcI.invoke.

File read procedure
Inherited from org.lwjgl.assimp.AIFileReadProc:
createcreatecreateSafe

Field Detail

delegateback to summary
private final AIFileReadProcI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long pFile, long pBuffer, long size, long count)

Implements org.lwjgl.assimp.AIFileReadProcI.invoke.

Doc from org.lwjgl.assimp.AIFileReadProcI.invoke.

File read procedure

Parameters
pFile:long

file pointer to read from

pBuffer:long

the buffer to read the values

size:long

size in bytes of each element to be read

count:long

number of elements to be read

Returns:long

the number of elements read

Annotations
@Override