Skip to content

GraphicsAPI reference

Enum TextureUsage

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

What a texture of a given format may be used for; queried per format.

C#
[Flags]
public enum TextureUsage

Fields

DepthStencil = 4

Depth(-stencil) attachment of a pass.

None = 0

No usage.

RenderTarget = 2

Colour attachment of a pass.

Sampled = 1

Sampled by pipelines (SetTexture).