Reference TGraphicsBoxOptions
Declared in Codebot.Render.Controls.pas on line 28
TGraphicsBoxOptions control the options used when creating an OpenGL context. Changes to the options are only used once immediately before creation of a context and have no effect afterwards.
TGraphicsBoxOptions = class(TPersistent)
public
constructor Create;
procedure Assign(Source: TPersistent); override;
{ DepthBits determines the number of bits used to store pixel Z depth.
Acceptable values are 16, 24, and 32. }
property DepthBits: Integer read FDepthBits write SetDepthBits default 24;
{ StencilBits determines the number of bits used to store stencil buffer
data. Acceptable values are 0, 1, and 8. }
property StencilBits: Integer read FStencilBits write SetStencilBits default 8;
{ MultiSampling allows polygon edges to be smoothed with anti aliasing }
property MultiSampling: Boolean read FMultiSampling write FMultiSampling default True;
{ MultiSamples controls how many samples are taken along polygon edges when
smoothing. Acceptable values are 1, 2, 4, 8 and 16. Higher values greatly
effect performance. }
property MultiSamples: Integer read FMultiSamples write SetMultiSamples default 4;
end;