Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    TextureOptions Enum

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Resource options for textures.

    [Flags]
    public enum TextureOptions
    Remarks

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

    Fields

    Name Description
    None

    None. The default.

    Shared

    Enables resource data sharing between two or more Direct3D devices.

    SharedKeyedmutex

    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

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

    Extension Methods

    ComponentBaseExtensions.DisposeBy<TextureOptions>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<TextureOptions>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation