Table of Contents

Enum TextureOptions

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Resource options for textures.

[Flags]
public enum TextureOptions

Fields

None = 0

None. The default.

Shared = 2

Enables resource data sharing between two or more Direct3D devices.

SharedKeyedmutex = 256

Enables the resource to be synchronized by using the SharpDX.DXGI.KeyedMutex.Acquire(System.Int64,System.Int32) and SharpDX.DXGI.KeyedMutex.Release(System.Int64) APIs.

SharedNthandle = 2048

Set this flag to enable the use of NT HANDLE values when you create a shared resource.

Remarks

This enumeration is used in TextureDescription.The TextureOptions must be 'None' when creating textures with CPU access flags.