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
 )
  • Method Details

    • create

      public static ShadercIncludeResultRelease create(long functionPointer)
      Creates a ShadercIncludeResultRelease instance from the specified function pointer.
      Returns:
      the new ShadercIncludeResultRelease
    • createSafe

      @Nullable public static ShadercIncludeResultRelease createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      Creates a ShadercIncludeResultRelease instance that delegates to the specified ShadercIncludeResultReleaseI instance.