Top Description Methods
org.lwjgl.system

public Interface FunctionProvider

Known Direct Subinterfaces
org.lwjgl.system.FunctionProviderLocal, org.lwjgl.system.SharedLibrary
Annotations
@FunctionalInterface
Imports
java.nio.*

A provider of native function addresses.

Method Summary

Modifier and TypeMethod and Description
public default long
public long

Returns:

the function address or 0L if the function is not supported
getFunctionAddress
(ByteBuffer
the encoded name of the function to query
functionName
)

Returns the function address of the specified function.

Method Detail

getFunctionAddressback to summary
public default long getFunctionAddress(CharSequence functionName)

CharSequence version of getFunctionAddress(ByteBuffer).

getFunctionAddressback to summary
public long getFunctionAddress(ByteBuffer functionName)

Returns the function address of the specified function. If the function is not supported, returns 0L.

Parameters
functionName:ByteBuffer

the encoded name of the function to query

Returns:long

the function address or 0L if the function is not supported