Class OGL40Graphics

All Implemented Interfaces:
OGLVersioned
Direct Known Subclasses:
OGL41Graphics

public class OGL40Graphics extends OGL33Graphics
OpenGL 4.0 Graphics Implementation.
Author:
Matthew Tropiano
  • Constructor Details

  • Method Details

    • getVersion

      public OGLVersion getVersion()
      Specified by:
      getVersion in interface OGLVersioned
      Overrides:
      getVersion in class OGL33Graphics
      Returns:
      the version that this object or value is available for (and higher).
    • createInfo

      protected OGLGraphics.Info createInfo()
      Description copied from class: OGLGraphics
      Called once in order to fetch context info.
      Overrides:
      createInfo in class OGL32Graphics
      Returns:
      the info object.
    • setTessellationPatchInnerLevel

      public void setTessellationPatchInnerLevel(float level1, float level2)
      Sets the tessellation patch inner levels for tessellation shaders.
      Parameters:
      level1 - the first level.
      level2 - the second level.
    • setTessellationPatchOuterLevel

      public void setTessellationPatchOuterLevel(float level1, float level2, float level3, float level4)
      Sets the tessellation patch outer levels for tessellation shaders.
      Parameters:
      level1 - the first level.
      level2 - the second level.
      level3 - the third level.
      level4 - the fourth level.
    • startQueryIndexed

      public void startQueryIndexed(QueryTarget queryTarget, int index, OGLQuery query)
      Starts an indexed query. The index corresponds to a query target-driven maximum.
      Parameters:
      queryTarget - the query target.
      index - the corresponding index for the target.
      query - the query object to attach results to.
    • endQueryIndexed

      public void endQueryIndexed(QueryTarget queryTarget, int index)
      Ends an indexed query. The index corresponds to a query target-driven maximum.
      Parameters:
      queryTarget - the query target.
      index - the corresponding index for the target.