Top Description Inners Constructors Methods
org.lwjgl.stb

public abstract Class STBISkipCallback

extends Callback
implements STBISkipCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.stb.STBISkipCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.stb.STBISkipCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be set to the skip field of the STBIIOCallbacks struct.

Type


void (*invoke) (
    void *user,
    int n
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static STBISkipCallback

Returns:

the new STBISkipCallback
create
(long functionPointer)

Creates a STBISkipCallback instance from the specified function pointer.

public static STBISkipCallback
create(STBISkipCallbackI instance)

Creates a STBISkipCallback instance that delegates to the specified STBISkipCallbackI instance.

public static STBISkipCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

STBISkipCallbackback to summary
protected STBISkipCallback()
STBISkipCallbackback to summary
pack-priv STBISkipCallback(long functionPointer)

Method Detail

createback to summary
public static STBISkipCallback create(long functionPointer)

Creates a STBISkipCallback instance from the specified function pointer.

Returns:STBISkipCallback

the new STBISkipCallback

createback to summary
public static STBISkipCallback create(STBISkipCallbackI instance)

Creates a STBISkipCallback instance that delegates to the specified STBISkipCallbackI instance.

createSafeback to summary
public static STBISkipCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.stb back to summary

private final Class STBISkipCallback.Container

extends STBISkipCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final STBISkipCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
a pointer to user data
user
,
int
the number of bytes to skip if positive, or unget the last -n bytes if negative
n
)

Implements org.lwjgl.stb.STBISkipCallbackI.invoke.

The stbi_io_callbacks.skip callback.
Inherited from org.lwjgl.stb.STBISkipCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final STBISkipCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long user, int n)

Implements org.lwjgl.stb.STBISkipCallbackI.invoke.

Doc from org.lwjgl.stb.STBISkipCallbackI.invoke.

The stbi_io_callbacks.skip callback.

Parameters
user:long

a pointer to user data

n:int

the number of bytes to skip if positive, or unget the last -n bytes if negative

Annotations
@Override