Package org.lwjgl.util.shaderc
Class ShadercIncludeResultRelease
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.shaderc.ShadercIncludeResultRelease
- All Implemented Interfaces:
AutoCloseable
,CallbackI
,NativeResource
,Pointer
,ShadercIncludeResultReleaseI
public abstract class ShadercIncludeResultRelease
extends Callback
implements ShadercIncludeResultReleaseI
Instances of this class may be passed to the
compile_options_set_include_callbacks
function.
Type
void (*ShadercIncludeResultReleaseI.invoke(long, long)
) (
void *user_data,
shaderc_include_result *include_result
)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
Fields inherited from interface org.lwjgl.util.shaderc.ShadercIncludeResultReleaseI
CIF
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShadercIncludeResultRelease
create
(long functionPointer) Creates aShadercIncludeResultRelease
instance from the specified function pointer.static ShadercIncludeResultRelease
create
(ShadercIncludeResultReleaseI instance) Creates aShadercIncludeResultRelease
instance that delegates to the specifiedShadercIncludeResultReleaseI
instance.static ShadercIncludeResultRelease
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface org.lwjgl.util.shaderc.ShadercIncludeResultReleaseI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aShadercIncludeResultRelease
instance from the specified function pointer.- Returns:
- the new
ShadercIncludeResultRelease
-
createSafe
-
create
Creates aShadercIncludeResultRelease
instance that delegates to the specifiedShadercIncludeResultReleaseI
instance.
-