Package 

Class DrawKey


  • 
    public final class DrawKey
    
                        

    A key used to uniquely identify a draw operation in the CommandQueue. This is useful when the same CommandQueue issues multiple draw calls. If the same key is used before the render loop flushes the queue, the previous draw call will be replaced with the new one.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Long handle
    • Constructor Summary

      Constructors 
      Constructor Description
      DrawKey(Long handle)
    • Method Summary

      Modifier and Type Method Description
      final Long getHandle()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DrawKey

        DrawKey(Long handle)
        Parameters:
        handle - The handle issued by the native CommandQueue for this draw operation.