Package icyllis.arc3d.granite

# Class TextureDataGatherer

java.lang.Object
icyllis.arc3d.granite.TextureDataGatherer

All Implemented Interfaces:
  `AutoCloseable`

public class TextureDataGatherer extends Object implements AutoCloseable

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TextureDataGatherer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(@SharedPtr ImageViewProxy textureView, SamplerDesc samplerDesc)`
  `void`
  `close()`
  `int[]`
  `finish()`
  Returns a copied int array representing the texture binding.
  `void`
  `reset()`

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

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

- ## Constructor Details

  - ### TextureDataGatherer

    public TextureDataGatherer()

- ## Method Details

  - ### add

    public void add(@SharedPtr @SharedPtr ImageViewProxy textureView, SamplerDesc samplerDesc)

  - ### reset

    public void reset()

  - ### finish

    public int[] finish()
    Returns a copied int array representing the texture binding. Holds repeated texture index and sampler index.

  - ### close

    public void close()
    Specified by:
      `close` in interface `AutoCloseable`