[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

IPTCOpenGLAttributes

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A set of OpenGL attributes.

Declaration

Source position: openglattributesd.inc line 33

type IPTCOpenGLAttributes = interface

  function GetDoubleBuffer;

  

  procedure SetDoubleBuffer();

  

  function GetDoubleBufferDontCare;

  

  procedure SetDoubleBufferDontCare();

  

  function GetStereo;

  

  procedure SetStereo();

  

  function GetStereoDontCare;

  

  procedure SetStereoDontCare();

  

  function GetBufferSize;

  

  procedure SetBufferSize();

  

  function GetDepthSize;

  

  procedure SetDepthSize();

  

  function GetStencilSize;

  

  procedure SetStencilSize();

  

  property DoubleBuffer: Boolean; [rw]

  

Enable or disable OpenGL double buffering.

  property DoubleBufferDontCare: Boolean; [rw]

  

  property Stereo: Boolean; [rw]

  

Enable or disable stereoscopic OpenGL.

  property StereoDontCare: Boolean; [rw]

  

  property BufferSize: Integer; [rw]

  

Size of the framebuffer in bits.

  property DepthSize: Integer; [rw]

  

Size of the depth buffer in bits.

  property StencilSize: Integer; [rw]

  

Size of the stencil buffer in bits.

end;

Inheritance

IPTCOpenGLAttributes

  

A set of OpenGL attributes.

Description

A set of OpenGL attributes, used for setting OpenGL video modes.

This is usually accessed via the IPTCConsole.OpenGL_Attributes property on the IPTCConsole.