Class PGraphics3D

All Implemented Interfaces:
Cloneable, PConstants

public class PGraphics3D extends PGraphicsOpenGL
  • Constructor Details

    • PGraphics3D

      public PGraphics3D()
  • Method Details

    • is2D

      public boolean is2D()
      Description copied from class: PGraphics
      Return true if this renderer supports 2D drawing. Defaults to true.
      Overrides:
      is2D in class PGraphics
    • is3D

      public boolean is3D()
      Description copied from class: PGraphics
      Return true if this renderer supports 3D drawing. Defaults to false.
      Overrides:
      is3D in class PGraphics
    • defaultPerspective

      protected void defaultPerspective()
      Overrides:
      defaultPerspective in class PGraphicsOpenGL
    • defaultCamera

      protected void defaultCamera()
      Overrides:
      defaultCamera in class PGraphicsOpenGL
    • begin2D

      protected void begin2D()
      Overrides:
      begin2D in class PGraphicsOpenGL
    • end2D

      protected void end2D()
      Overrides:
      end2D in class PGraphicsOpenGL
    • isSupportedExtension

      protected static boolean isSupportedExtension(String extension)
    • loadShapeImpl

      protected static PShape loadShapeImpl(PGraphics pg, String filename, String extension)