STBImageWrite write_type_to_func functions.
void (*invoke) (
void *context,
void *data,
int size
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static STBIWriteCallback | Returns: the newSTBIWriteCallbackCreates a |
| public static STBIWriteCallback | create(STBIWriteCallbackI instance)
Creates a |
| public static STBIWriteCallback | |
| public static ByteBuffer | Returns: the data as a ByteBufferthe STBIWriteCallback data, int data argumentthe STBIWriteCallback size)size argumentConverts the specified |
| STBIWriteCallback | back to summary |
|---|---|
| protected STBIWriteCallback() | |
| STBIWriteCallback | back to summary |
|---|---|
| pack-priv STBIWriteCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static STBIWriteCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static STBIWriteCallback create(STBIWriteCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static STBIWriteCallback createSafe(long functionPointer) Like
| |
| getData | back to summary |
|---|---|
| public static ByteBuffer getData(long data, int size) Converts the specified This method may only be used inside a STBIWriteCallback invocation.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final STBIWriteCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the context passed to the write function context, long the data to write data, int the number of bytes in size)dataImplements org. stbi_write_func callback.
|
| delegate | back to summary |
|---|---|
| private final STBIWriteCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, STBIWriteCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long context, long data, int size) Implements org. Doc from org. The
| |