Package icyllis.arc3d.opengl

# Class GLUniformBuffer

java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.engine.ManagedResource
icyllis.arc3d.opengl.GLUniformBuffer

All Implemented Interfaces:
  `RefCounted`

@Deprecated public class GLUniformBuffer extends ManagedResource
Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `deallocate()`
  Deprecated.
  Override this method to invoke de-allocation of the underlying resource.
  `void`
  `discard()`
  Deprecated.
  `int`
  `getBinding()`
  Deprecated.
  `int`
  `getHandle()`
  Deprecated.
  `int`
  `getSize()`
  Deprecated.
  `static @SharedPtr GLUniformBuffer`
  `make(GLDevice device, int size, int binding)`
  Deprecated.

  ### Methods inherited from class icyllis.arc3d.engine.ManagedResource

  `getDevice`

  ### Methods inherited from class icyllis.arc3d.core.RefCnt

  `create, create, getRefCnt, getRefCntAcquire, getRefCntVolatile, move, move, ref, unique, unref`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### make

    @Nullable @SharedPtr public static @SharedPtr GLUniformBuffer make(GLDevice device, int size, int binding)
    Deprecated.
    Parameters:
      `binding` - the index of the uniform block binding point

  - ### deallocate

    protected void deallocate()
    Deprecated.
    Description copied from class: `RefCnt`
    Override this method to invoke de-allocation of the underlying resource.
    Specified by:
      `deallocate` in class `RefCnt`

  - ### discard

    public void discard()
    Deprecated.

  - ### getSize

    public int getSize()
    Deprecated.

  - ### getHandle

    public int getHandle()
    Deprecated.

  - ### getBinding

    public int getBinding()
    Deprecated.