Unit CastleGLVersion

Description

Checking OpenGL version, vendors and such (GLVersion). These should be initialized by calling GLInformationInitialize, which is done automatically when opening OpenGL context using TCastleWindow or TCastleControl.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TGenericGLVersion OpenGL(ES) library version information.
Class TGLVersion  

Functions and Procedures

function VendorTypeToStr(const VendorType: TGLVendorType): string;

Types

TGLVendorType = (...);

Variables

GLVersion: TGLVersion;

Description

Functions and Procedures

function VendorTypeToStr(const VendorType: TGLVendorType): string;

This item has no description.

Types

TGLVendorType = (...);

Recognized OpenGL(ES) vendor names.

Note that we don't try to recognize all vendors, only the most popular ones and the ones whose detection is necessary to workaround/optimize some OpenGL(ES) code. For unrecognized vendors, we just set gvOther.

Values
  • gvOther: Some vendor not covered by other enums.
  • gvATI: ATI GPU with ATI drivers.
  • gvNvidia: NVidia GPU with NVidia drivers.
  • gvIntel: Intel GPU with Intel drivers.
  • gvImaginationTechnologies: Imagination Technologies (PowerVR) GPU, found on mobile devices.
  • gvQualcomm: Qualcomm Adreno, found on mobile devices.
  • gvArm: Arm, makers of Mali GPU, found on mobile devices.

Variables

GLVersion: TGLVersion;

OpenGL(ES) version information.

Internally automatically initialized when at least one OpenGL(ES) context is open, may be Nil otherwise. User code should never set this variable.


Generated by PasDoc 0.16.0-snapshot.