Reference TOpenGLParams
Declared in Codebot.OpenGL.pas on line 4736
TOpenGLParams is used to create an IOpenGLContext. A description of each field is provided below. Most of the parameters cannot be altered once a context is created.
TOpenGLParams = record
public
{ The number of bits for a depth buffer, defaults to 24 }
Depth: Byte;
{ The number of bits for a stencil buffer, defaults to 8 }
Stencil: Byte;
{ Optionally use multisampling for smoothing, defaults to True }
MultiSampling: Boolean;
{ Optionally the number of multisamples (1, 2, 4, 8, 16), defaults to 4 }
MultiSamples: Byte;
{ Create TOpenGLParams with the default options }
class function Create: TOpenGLParams; static;
end;