Class GLSampler

All Implemented Interfaces:
RefCounted

public final class GLSampler extends Sampler
Represents OpenGL sampler objects.
  • Method Details

    • create

      @Nullable @SharedPtr public static @SharedPtr GLSampler create(Context context, SamplerDesc desc)
    • onRelease

      protected void onRelease()
      Description copied from class: Resource
      Subclass should override this method to free GPU resources in the backend API.
      Specified by:
      onRelease in class Resource
    • discard

      public void discard()
    • getHandle

      public int getHandle()