Class ResourceIdentifier

  • Direct Known Subclasses:
    ProgramID, TextureID, VAOBufferID

    public abstract class ResourceIdentifier
    extends java.lang.Object
    Abstract base class. The destructor is *NOT* virtual so that the derived-class destructors hide it. This is intentional to avoid a virtual function table pointer, a safe thing here because the base class has no data. This allows the derived classes that represent vertex buffer information to store the input attributes first, and allow typecasting of the following form. class VBufferIdentifier : public ResourceIdentifier { public: Attributes IAttr; } VBufferIdentifier* pkID = ; Attributes& rkIAttr = *(Attributes*)pkID;
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ResourceIdentifier()
      Abstract base class.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • ResourceIdentifier

        protected ResourceIdentifier()
        Abstract base class.