Class GLSLIncludeLocalFunc
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.shaderc.GLSLIncludeLocalFunc
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, GLSLIncludeLocalFuncI
Callback function:
glsl_include_local_func-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface GLSLIncludeLocalFuncI
DESCRIPTORFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic GLSLIncludeLocalFunccreate(long functionPointer) Creates aGLSLIncludeLocalFuncinstance from the specified function pointer.static GLSLIncludeLocalFunccreate(GLSLIncludeLocalFuncI instance) Creates aGLSLIncludeLocalFuncinstance that delegates to the specifiedGLSLIncludeLocalFuncIinstance.static @Nullable GLSLIncludeLocalFunccreateSafe(long functionPointer) Methods inherited from interface GLSLIncludeLocalFuncI
callback, getDescriptor, invokeMethods inherited from interface NativeResource
close
-
Method Details
-
create
Creates aGLSLIncludeLocalFuncinstance from the specified function pointer.- Returns:
- the new
GLSLIncludeLocalFunc
-
createSafe
-
create
Creates aGLSLIncludeLocalFuncinstance that delegates to the specifiedGLSLIncludeLocalFuncIinstance.
-