Class Render


  • public class Render
    extends java.lang.Object
    Abstract base class for all renderable classes

    Classes that are able to render them self, may inherit from this class.
    • Constructor Detail

      • Render

        public Render​(long cPtr,
                      boolean cMemoryOwn)
    • Method Detail

      • getCPtr

        public static long getCPtr​(Render obj)
      • delete

        public void delete()
      • draw

        public void draw​(DrawableNode.RenderInfo info,
                         DrawableNode.DrawType type,
                         double alpha)
        draws the object.
        Parameters:
        info - [in] state and rendering specific info
        type - [in] the drawtype which is being used
        alpha - [in] the alpha value to render with