public static class GlProfilesWhat each profile can do.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Asked as "at least this profile", never as a switch over every member. A backend that switched would silently report a new profile's capabilities as absent — or, worse, as whatever the default arm said.
Methods (15)
public static bool HasCompute(this GlProfile profile)Whether the profile has compute shaders and dispatches.
public static bool HasStorageBuffers(this GlProfile profile)Whether the profile has shader storage buffers.
public static bool HasStorageTextures(this GlProfile profile)Whether the profile has storage (image load/store) textures.
public static bool HasClipControl(this GlProfile profile)Whether glClipControl is available.
public static bool HasExplicitBindings(this GlProfile profile)Whether layout(binding = …) may appear on uniform blocks and samplers.
public static bool HasBufferMapping(this GlProfile profile)Whether buffers may be mapped.
public static bool HasIndirect(this GlProfile profile)Whether indirect draws and dispatches are available.
public static bool HasDebugOutput(this GlProfile profile)Whether KHR_debug groups and object labels are available.
public static bool HasBaseInstance(this GlProfile profile)Whether a draw may start at a non-zero instance.
public static bool HasAnisotropy(this GlProfile profile)Whether the profile has anisotropic sampling in core.
public static bool HasFramebufferSrgbControl(this GlProfile profile)Whether sRGB encoding on write can be switched on and off.
public static bool HasWireframe(this GlProfile profile)Whether wireframe fill is available.
public static bool HasBorderClamp(this GlProfile profile)Whether a sampler may clamp to a border colour.
public static string ShaderVersion(this GlProfile profile)The GLSL version directive the profile wants.
public static GraphicsDeviceFeatures Features(this GlProfile profile)What a device on this profile reports it can do.
Used by (7)
- EglContextTestsVixen.Graphics.OpenGL.Tests
- GlAdapterVixen.Graphics.OpenGL
- GlDeviceVixen.Graphics.OpenGL
- GlDeviceTestsVixen.Graphics.OpenGL.Tests
- GlEnumsVixen.Graphics.OpenGL
- GlStateCacheVixen.Graphics.OpenGL
- GlslTranslatorVixen.Graphics.OpenGL