Skip to content

GraphicsAPI reference

Enum GraphicsFeatures

Namespace: MicroEngine.Graphics.Devices
Assembly: MicroEngine.Graphics.dll
Guide: The graphics device

Optional features. Everything not listed here is mandatory on every tier: textures (Rgba8Unorm sampled and rendered), samplers with clamp addressing, buffers, the built-in pipeline with the four blend presets, scissor, viewport, readback and the surface target. A request that needs an undeclared feature fails with GraphicsCapabilityException naming it; there is no silent degradation.

C#
[Flags]
public enum GraphicsFeatures

Fields

AddressMirror = 4

Mirror.

AddressRepeat = 2

Repeat.

ComputeShaders = 256

Compute shaders (no operation in this contract version uses it).

CustomBlend = 16

Any BlendState, not only those in BuiltInBlendStates.

DepthBuffer = 64

Depth attachments, depth test and write.

Instancing = 128

Draws with more than one instance.

Mipmaps = 8

Textures with more than one mip level.

None = 0

No optional feature.

RenderTargets = 1

Offscreen render targets (CreateRenderTarget).

SeparateFilters = 512

Samplers whose minification and magnification filters differ.

Shaders = 32

Custom shaders and pipelines.