Package org.lwjgl.system
Interface FunctionProviderLocal
-
- All Superinterfaces:
- FunctionProvider
public interface FunctionProviderLocal extends FunctionProvider
A platform/device/context specific provider of native function addresses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description longgetFunctionAddress(long handle, java.nio.ByteBuffer functionName)Returns the function address of the specified function for the specifiedhandle.default longgetFunctionAddress(long handle, java.lang.CharSequence functionName)CharSequenceversion ofFunctionProviderLocal.getFunctionAddress(long, ByteBuffer).-
Methods inherited from interface org.lwjgl.system.FunctionProvider
getFunctionAddress, getFunctionAddress
-
-
-
-
Method Detail
-
getFunctionAddress
default long getFunctionAddress(long handle, java.lang.CharSequence functionName)CharSequenceversion ofFunctionProviderLocal.getFunctionAddress(long, ByteBuffer).
-
getFunctionAddress
long getFunctionAddress(long handle, java.nio.ByteBuffer functionName)Returns the function address of the specified function for the specifiedhandle. If the function is not supported, returns 0L.- Parameters:
handle- the handle to a platform/device/contextfunctionName- the encoded name of the function to query- Returns:
- the function address or 0L if the function is not supported
-
-