Class OGL43Graphics

All Implemented Interfaces:
OGLVersioned
Direct Known Subclasses:
OGL44Graphics

public class OGL43Graphics extends OGL42Graphics
OpenGL 4.3 Graphics Implementation.
Author:
Matthew Tropiano
  • Constructor Details

  • Method Details

    • getVersion

      public OGLVersion getVersion()
      Specified by:
      getVersion in interface OGLVersioned
      Overrides:
      getVersion in class OGL42Graphics
      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 OGL42Graphics
      Returns:
      the info object.
    • setDebugMessagesEnabled

      public void setDebugMessagesEnabled(boolean enabled)
      Sets if debug messages are enabled on this context.
      Parameters:
      enabled - true if so, false if not.
    • setDebugMessagesSychronous

      public void setDebugMessagesSychronous(boolean enabled)
      Sets if debug message output is synchronous on this context.
      Parameters:
      enabled - true if so, false if not.
    • insertDebugMessage

      public void insertDebugMessage(DebugSource source, DebugType type, int id, DebugSeverity severity, String message)
      Inserts a debug message into the command list.
      Parameters:
      source - the source of the message.
      type - the type of message.
      id - a user-supplied id number.
      severity - the message severity level.
      message - the message.
    • setDebugMessageControl

      public void setDebugMessageControl(DebugControlSource source, DebugControlType type, DebugControlSeverity severity, int[] ids, boolean enabled)
      Sets if a set of debug messages get filtered out.
      Parameters:
      source - the control source (DebugControlSource.DONT_CARE for no filter).
      type - the control type (DebugControlType.DONT_CARE for no filter).
      severity - the control severity (DebugControlSeverity.DONT_CARE for no filter).
      ids - the list of ids to filter (can be null for no ids - if not null, source and type CANNOT be DONT_CARE).
      enabled - true to enable, false to disable.
    • getDebugMessageLog

      public OGL43Graphics.DebugMessageLog getDebugMessageLog(int count, int bufferLength)
      Retrieves a debug message log, up to a specific count of messages.
      Parameters:
      count - the amount of messages to potentially retrieve.
      bufferLength - the length of the buffer for retrieving the messages. If not enough space, the amount of messages retrieved may be less than count.
      Returns:
      a message log response from the call.