Vixen
02b45cc4
csharp
public enum GlProfile

Which dialect of GL a device is driving.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

One project, three profiles (docs/plan/05 § Vixen.Graphics.OpenGL). They share the state shadowing, the pipeline emulation and the barrier elision, and differ in extension availability and shader dialect — which is a difference of a few decisions rather than of a code path, and is why the profile is a value and not a subclass.

The ordering is deliberate and load-bearing: a profile is a floor, and GlProfiles asks "at least" questions against it rather than switching on each member. A capability added for a new profile that forgot to update every switch is the classic way a backend claims something it cannot do.

Fields and properties (4)

  • WebGl2

    WebGL2 — GLES 3.0 minus buffer mapping, minus compute, in a browser.

  • Es30

    GLES 3.0 — the Android floor (docs/plan/05 § Android).

  • Es32

    GLES 3.2 — compute, storage buffers, layout(binding), geometry, debug output.

  • Core45

    GL 4.5 core — the desktop profile.

Used by (20)

  • EglAttributeTestsVixen.Graphics.OpenGL.Tests
  • EglAttributesVixen.Graphics.OpenGL
  • EglContextVixen.Graphics.OpenGL
  • EglContextOptionsVixen.Graphics.OpenGL
  • EglContextTestsVixen.Graphics.OpenGL.Tests
  • GlAdapterVixen.Graphics.OpenGL
  • GlDeviceVixen.Graphics.OpenGL
  • GlDeviceTestsVixen.Graphics.OpenGL.Tests
  • GlEnumsVixen.Graphics.OpenGL
  • GlFormatsVixen.Graphics.OpenGL
  • GlProfilesVixen.Graphics.OpenGL
  • GlReplayTestsVixen.Graphics.OpenGL.Tests
  • GlStateCacheVixen.Graphics.OpenGL
  • GlslTranslatorVixen.Graphics.OpenGL
  • GlslTranslatorTestsVixen.Graphics.OpenGL.Tests
  • IGlApiVixen.Graphics.OpenGL
  • RecordingGlApiVixen.Graphics.OpenGL.Tests
  • SilkGlApiVixen.Graphics.OpenGL
  • SilkGlesApiVixen.Graphics.OpenGL
  • GraphicsHostVixen.App