• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • JeremyAnsel.DirectX.D2D1
      • D2D1AlphaMode
      • D2D1AntialiasMode
      • D2D1ArcSegment
      • D2D1ArcSize
      • D2D1BezierSegment
      • D2D1Bitmap
      • D2D1BitmapBrush
      • D2D1BitmapBrushProperties
      • D2D1BitmapInterpolationMode
      • D2D1BitmapProperties
      • D2D1BitmapRenderTarget
      • D2D1Brush
      • D2D1BrushProperties
      • D2D1CapStyle
      • D2D1ColorF
      • D2D1CombineMode
      • D2D1CompatibleRenderTargetOptions
      • D2D1Constants
      • D2D1DCInitializeMode
      • D2D1DCRenderTarget
      • D2D1DashStyle
      • D2D1DebugLevel
      • D2D1DrawTextOptions
      • D2D1DrawingStateBlock
      • D2D1DrawingStateDescription
      • D2D1Ellipse
      • D2D1EllipseGeometry
      • D2D1Error
      • D2D1ExtendMode
      • D2D1Factory
      • D2D1FactoryOptions
      • D2D1FactoryType
      • D2D1FeatureLevel
      • D2D1FigureBegin
      • D2D1FigureEnd
      • D2D1FillMode
      • D2D1Gamma
      • D2D1Geometry
      • D2D1GeometryGroup
      • D2D1GeometryRelation
      • D2D1GeometrySimplificationOption
      • D2D1GeometrySink
      • D2D1GradientStop
      • D2D1GradientStopCollection
      • D2D1HwndRenderTarget
      • D2D1HwndRenderTargetProperties
      • D2D1Image
      • D2D1InterpolationModeDefinition
      • D2D1KnownColor
      • D2D1Layer
      • D2D1LayerOptions
      • D2D1LayerParameters
      • D2D1LineJoin
      • D2D1LinearGradientBrush
      • D2D1LinearGradientBrushProperties
      • D2D1Matrix3X2F
      • D2D1Matrix4X3F
      • D2D1Matrix4X4F
      • D2D1Matrix5X4F
      • D2D1Mesh
      • D2D1OpacityMaskContent
      • D2D1PathGeometry
      • D2D1PathSegmentOptions
      • D2D1PixelFormat
      • D2D1Point2F
      • D2D1Point2L
      • D2D1Point2U
      • D2D1PresentOptions
      • D2D1QuadraticBezierSegment
      • D2D1RadialGradientBrush
      • D2D1RadialGradientBrushProperties
      • D2D1RectF
      • D2D1RectL
      • D2D1RectU
      • D2D1RectangleGeometry
      • D2D1RenderTarget
      • D2D1RenderTargetProperties
      • D2D1RenderTargetType
      • D2D1RenderTargetUsages
      • D2D1Resource
      • D2D1RoundedRect
      • D2D1RoundedRectangleGeometry
      • D2D1SimplifiedGeometrySink
      • D2D1SizeF
      • D2D1SizeU
      • D2D1SolidColorBrush
      • D2D1StrokeStyle
      • D2D1StrokeStyleProperties
      • D2D1SweepDirection
      • D2D1TessellationSink
      • D2D1TextAntialiasMode
      • D2D1TransformedGeometry
      • D2D1Triangle
      • D2D1Vector2F
      • D2D1Vector3F
      • D2D1Vector4F
      • D2D1WindowStates
    • JeremyAnsel.DirectX.D3D10
      • D3D10CreateDeviceOptions
      • D3D10Device1
      • D3D10DriverType
      • D3D10Error
      • D3D10FeatureLevel
    • JeremyAnsel.DirectX.D3D11
      • D3D11AsyncGetDataOptions
      • D3D11Asynchronous
      • D3D11BindOptions
      • D3D11BlendDesc
      • D3D11BlendOperation
      • D3D11BlendState
      • D3D11BlendValue
      • D3D11Box
      • D3D11Buffer
      • D3D11BufferDesc
      • D3D11BufferExSrv
      • D3D11BufferExSrvOptions
      • D3D11BufferRtv
      • D3D11BufferSrv
      • D3D11BufferUav
      • D3D11BufferUavOptions
      • D3D11ClassInstance
      • D3D11ClassInstanceDesc
      • D3D11ClassLinkage
      • D3D11ClearOptions
      • D3D11ColorWriteEnables
      • D3D11CommandList
      • D3D11ComparisonFunction
      • D3D11ComputeShader
      • D3D11Constants
      • D3D11Counter
      • D3D11CounterDataType
      • D3D11CounterDesc
      • D3D11CounterInfo
      • D3D11CounterType
      • D3D11CpuAccessOptions
      • D3D11CreateDeviceOptions
      • D3D11CullMode
      • D3D11DepthStencilDesc
      • D3D11DepthStencilOperationDesc
      • D3D11DepthStencilState
      • D3D11DepthStencilView
      • D3D11DepthStencilViewDesc
      • D3D11DepthStencilViewOptions
      • D3D11DepthWriteMask
      • D3D11Device
      • D3D11DeviceAndContext
      • D3D11DeviceChild
      • D3D11DeviceContext
      • D3D11DeviceContextType
      • D3D11DomainShader
      • D3D11DriverType
      • D3D11DsvDimension
      • D3D11Error
      • D3D11Feature
      • D3D11FeatureDataArchitectureInfo
      • D3D11FeatureDataD3D10XHardwareOptions
      • D3D11FeatureDataD3D11Options
      • D3D11FeatureDataD3D11Options1
      • D3D11FeatureDataD3D9Options
      • D3D11FeatureDataD3D9Options1
      • D3D11FeatureDataD3D9ShadowSupport
      • D3D11FeatureDataD3D9SimpleInstancingSupport
      • D3D11FeatureDataDoubles
      • D3D11FeatureDataFormatSupport
      • D3D11FeatureDataFormatSupport2
      • D3D11FeatureDataMarkerSupport
      • D3D11FeatureDataShaderMinPrecisionSupport
      • D3D11FeatureDataThreading
      • D3D11FeatureLevel
      • D3D11FillMode
      • D3D11Filter
      • D3D11FormatSupport
      • D3D11FormatSupport2
      • D3D11GeometryShader
      • D3D11HullShader
      • D3D11InputClassification
      • D3D11InputElementDesc
      • D3D11InputLayout
      • D3D11MapCpuPermission
      • D3D11MapOptions
      • D3D11MappedSubResource
      • D3D11PixelShader
      • D3D11Predicate
      • D3D11Primitive
      • D3D11PrimitiveTopology
      • D3D11Query
      • D3D11QueryDataPipelineStatistics
      • D3D11QueryDataStreamOutputStatistics
      • D3D11QueryDataTimestampDisjoint
      • D3D11QueryDesc
      • D3D11QueryMiscOptions
      • D3D11QueryType
      • D3D11RaiseOptions
      • D3D11RasterizerDesc
      • D3D11RasterizerState
      • D3D11Rect
      • D3D11RenderTargetBlendDesc
      • D3D11RenderTargetView
      • D3D11RenderTargetViewDesc
      • D3D11Resource
      • D3D11ResourceDimension
      • D3D11ResourceMiscOptions
      • D3D11RtvDimension
      • D3D11SamplerDesc
      • D3D11SamplerState
      • D3D11ShaderMinPrecisionSupports
      • D3D11ShaderResourceView
      • D3D11ShaderResourceViewDesc
      • D3D11SrvDimension
      • D3D11StencilOperation
      • D3D11StreamOutputDeclarationEntry
      • D3D11SubResourceData
      • D3D11SubResourceDataPtr
      • D3D11Texture1D
      • D3D11Texture1DArrayDsv
      • D3D11Texture1DArrayRtv
      • D3D11Texture1DArraySrv
      • D3D11Texture1DArrayUav
      • D3D11Texture1DDesc
      • D3D11Texture1DDsv
      • D3D11Texture1DRtv
      • D3D11Texture1DSrv
      • D3D11Texture1DUav
      • D3D11Texture2D
      • D3D11Texture2DArrayDsv
      • D3D11Texture2DArrayRtv
      • D3D11Texture2DArraySrv
      • D3D11Texture2DArrayUav
      • D3D11Texture2DDesc
      • D3D11Texture2DDsv
      • D3D11Texture2DMsArrayDsv
      • D3D11Texture2DMsArrayRtv
      • D3D11Texture2DMsArraySrv
      • D3D11Texture2DMsDsv
      • D3D11Texture2DMsRtv
      • D3D11Texture2DMsSrv
      • D3D11Texture2DRtv
      • D3D11Texture2DSrv
      • D3D11Texture2DUav
      • D3D11Texture3D
      • D3D11Texture3DDesc
      • D3D11Texture3DRtv
      • D3D11Texture3DSrv
      • D3D11Texture3DUav
      • D3D11TextureAddressMode
      • D3D11TextureCubeArraySrv
      • D3D11TextureCubeFace
      • D3D11TextureCubeSrv
      • D3D11TiledResourcesTier
      • D3D11UavDimension
      • D3D11UnorderedAccessView
      • D3D11UnorderedAccessViewDesc
      • D3D11Usage
      • D3D11Utils
      • D3D11VertexBufferBinding
      • D3D11VertexShader
      • D3D11View
      • D3D11Viewport
      • D3D11WellKnownPrivateDataId
      • DxgiSwapChainExtensions
    • JeremyAnsel.DirectX.D3DCompiler
      • D3DCompile
      • D3DCompileOptions
      • D3DCompileResult
      • D3DDisassembleOptions
      • D3DShaderMacro
      • D3DTargets
    • JeremyAnsel.DirectX.DWrite
      • DWriteBreakCondition
      • DWriteClusterMetrics
      • DWriteError
      • DWriteFactory
      • DWriteFactoryType
      • DWriteFlowDirection
      • DWriteFont
      • DWriteFontCollection
      • DWriteFontFace
      • DWriteFontFaceType
      • DWriteFontFamily
      • DWriteFontFeature
      • DWriteFontFeatureTag
      • DWriteFontFile
      • DWriteFontFileType
      • DWriteFontList
      • DWriteFontMetrics
      • DWriteFontSimulations
      • DWriteFontStretch
      • DWriteFontStyle
      • DWriteFontWeight
      • DWriteGlyphMetrics
      • DWriteGlyphOffset
      • DWriteGlyphRun
      • DWriteGlyphRunDescription
      • DWriteHitTestMetrics
      • DWriteInformationalStringId
      • DWriteInlineObjectMetrics
      • DWriteLineBreakpoint
      • DWriteLineMetrics
      • DWriteLineSpacingMethod
      • DWriteLocalizedStrings
      • DWriteMatrix
      • DWriteMeasuringMode
      • DWriteNumberSubstitutionMethod
      • DWriteOverhangMetrics
      • DWriteParagraphAlignment
      • DWritePixelGeometry
      • DWriteReadingDirection
      • DWriteRect
      • DWriteRenderingMode
      • DWriteRenderingParams
      • DWriteScriptAnalysis
      • DWriteScriptShape
      • DWriteShapingGlyphProperties
      • DWriteShapingTextProperties
      • DWriteSize
      • DWriteStrikethrough
      • DWriteTextAlignment
      • DWriteTextFormat
      • DWriteTextLayout
      • DWriteTextMetrics
      • DWriteTextRange
      • DWriteTextureType
      • DWriteTrimming
      • DWriteTrimmingGranularity
      • DWriteTypography
      • DWriteUnderline
      • DWriteWordWrapping
    • JeremyAnsel.DirectX.DXCommon
      • DXComObject
      • DXMarshal
      • DXProcessMemoryCounters
      • DXUtils
    • JeremyAnsel.DirectX.DXMath
      • XMColor
      • XMComparisonRecord
      • XMFloat2
      • XMFloat3
      • XMFloat3X3
      • XMFloat4
      • XMFloat4X3
      • XMFloat4X4
      • XMInt2
      • XMInt3
      • XMInt4
      • XMKnownColor
      • XMMath
      • XMMatrix
      • XMPermutation
      • XMPlane
      • XMQuaternion
      • XMScalar
      • XMSelection
      • XMSwizzle
      • XMUInt2
      • XMUInt3
      • XMUInt4
      • XMVector
      • XMVector2
      • XMVector3
      • XMVector4
    • JeremyAnsel.DirectX.DXMath.Collision
      • BoundingBox
      • BoundingFrustum
      • BoundingOrientedBox
      • BoundingSphere
      • ContainmentType
      • PlaneIntersectionType
      • TriangleTest
    • JeremyAnsel.DirectX.DXMath.PackedVector
      • Half
      • XMByte2
      • XMByte4
      • XMByteN2
      • XMByteN4
      • XMColorRgba
      • XMDec4
      • XMDecN4
      • XMFloat3Packed
      • XMFloat3SharedExponent
      • XMHalf2
      • XMHalf4
      • XMShort2
      • XMShort4
      • XMShortN2
      • XMShortN4
      • XMU555
      • XMU565
      • XMUByte2
      • XMUByte4
      • XMUByteN2
      • XMUByteN4
      • XMUDec4
      • XMUDecN4
      • XMUDecN4XR
      • XMUNibble4
      • XMUShort2
      • XMUShort4
      • XMUShortN2
      • XMUShortN4
      • XMXDec4
      • XMXDecN4
    • JeremyAnsel.DirectX.DirectInput
      • DirectInputConstants
      • DirectInputCooperativeLevels
      • DirectInputDataFormat
      • DirectInputDataOptions
      • DirectInputDefaultEffectType
      • DirectInputDevice
      • DirectInputDeviceCapabilities
      • DirectInputDeviceCapabilitiesOptions
      • DirectInputDeviceEnumClasses
      • DirectInputDeviceEnumOptions
      • DirectInputDeviceInfo
      • DirectInputDeviceObjectInfo
      • DirectInputEffect
      • DirectInputEffectConstants
      • DirectInputEffectData
      • DirectInputEffectDataCondition
      • DirectInputEffectDataConstantForce
      • DirectInputEffectDataCustomForce
      • DirectInputEffectDataPeriodic
      • DirectInputEffectDataRampForce
      • DirectInputEffectEnvelope
      • DirectInputEffectInfo
      • DirectInputEffectParameterOptions
      • DirectInputEffectParametersData
      • DirectInputEffectParametersDataOptions
      • DirectInputEffectStartOptions
      • DirectInputEffectStatus
      • DirectInputEffectTypes
      • DirectInputFactory
      • DirectInputForceFeedbackCommands
      • DirectInputForceFeedbackStates
      • DirectInputGuids
      • DirectInputHowTypes
      • DirectInputJoystick2Objects
      • DirectInputJoystickObjects
      • DirectInputJoystickState
      • DirectInputJoystickState2
      • DirectInputKeyboardKeys
      • DirectInputKeyboardState
      • DirectInputMouse2Objects
      • DirectInputMouseObjects
      • DirectInputMouseState
      • DirectInputMouseState2
      • DirectInputObjectDataFormat
      • DirectInputObjectDataOptions
      • DirectInputObjectDataTypes
      • DirectInputPropertyTypes
    • JeremyAnsel.DirectX.Dxgi
      • DxgiAdapter
      • DxgiAdapter1
      • DxgiAdapter2
      • DxgiAdapter3
      • DxgiAdapter4
      • DxgiAdapterDesc
      • DxgiAdapterDesc1
      • DxgiAdapterDesc2
      • DxgiAdapterType
      • DxgiAlphaMode
      • DxgiColorRgb
      • DxgiColorRgba
      • DxgiComputePreemptionGranularity
      • DxgiCpuAccess
      • DxgiCreateFactoryOptions
      • DxgiDevice
      • DxgiDevice1
      • DxgiDevice2
      • DxgiDevice3
      • DxgiDeviceSubObject
      • DxgiEnumModes
      • DxgiError
      • DxgiFactory
      • DxgiFactory1
      • DxgiFactory2
      • DxgiFactory3
      • DxgiFormat
      • DxgiFrameStatistics
      • DxgiGammaControl
      • DxgiGammaControlCapabilities
      • DxgiGraphicsPreemptionGranularity
      • DxgiKeyedMutex
      • DxgiMapOptions
      • DxgiMappedRect
      • DxgiMatrix3x2F
      • DxgiMemorySegmentGroup
      • DxgiModeDesc
      • DxgiModeDesc1
      • DxgiModeRotation
      • DxgiModeScaling
      • DxgiModeScanlineOrder
      • DxgiObject
      • DxgiOfferResourcePriority
      • DxgiOutput
      • DxgiOutput1
      • DxgiOutput2
      • DxgiOutput3
      • DxgiOutputDesc
      • DxgiPoint
      • DxgiPresentOptions
      • DxgiPresentParameters
      • DxgiQueryVideoMemoryInfo
      • DxgiRational
      • DxgiRect
      • DxgiResidency
      • DxgiResource
      • DxgiResource1
      • DxgiResource2
      • DxgiResource3
      • DxgiResourceEvictionPriority
      • DxgiSampleDesc
      • DxgiScaling
      • DxgiSharedResource
      • DxgiSharedResourceAccess
      • DxgiSurface
      • DxgiSurface1
      • DxgiSurface2
      • DxgiSurface3
      • DxgiSurfaceDesc
      • DxgiSwapChain
      • DxgiSwapChain1
      • DxgiSwapChain2
      • DxgiSwapChain3
      • DxgiSwapChainDesc
      • DxgiSwapChainDesc1
      • DxgiSwapChainFullscreenDesc
      • DxgiSwapChainOptions
      • DxgiSwapEffect
      • DxgiUsages
      • DxgiWindowAssociationOptions
    • JeremyAnsel.DirectX.WinCodec
      • Wic8BIMIptcDigestProperties
      • Wic8BIMIptcProperties
      • Wic8BIMResolutionInfoProperties
      • WicBitmap
      • WicBitmapAlphaChannelOption
      • WicBitmapChainType
      • WicBitmapClipper
      • WicBitmapCodecInfo
      • WicBitmapCreateCacheOption
      • WicBitmapDecoder
      • WicBitmapDecoderCapabilities
      • WicBitmapDecoderInfo
      • WicBitmapDitherType
      • WicBitmapEncoder
      • WicBitmapEncoderCacheOption
      • WicBitmapEncoderInfo
      • WicBitmapFlipRotator
      • WicBitmapFrameDecode
      • WicBitmapFrameEncode
      • WicBitmapInterpolationMode
      • WicBitmapLock
      • WicBitmapLockFlags
      • WicBitmapPaletteType
      • WicBitmapPlane
      • WicBitmapPlaneDescription
      • WicBitmapScaler
      • WicBitmapSource
      • WicBitmapToneMappingMode
      • WicBitmapTransformOptions
      • WicColor
      • WicColorContext
      • WicColorContextType
      • WicColorTransform
      • WicComponentEnumerateOptions
      • WicComponentInfo
      • WicComponentSigning
      • WicComponentType
      • WicD2D1AlphaMode
      • WicD2D1PixelFormat
      • WicDdsAlphaMode
      • WicDdsDecoder
      • WicDdsDimension
      • WicDdsEncoder
      • WicDdsFormatInfo
      • WicDdsFrameDecode
      • WicDdsParameters
      • WicDecodeOptions
      • WicDxgiFormat
      • WicFormatConverter
      • WicFormatConverterInfo
      • WicGainMapProperties
      • WicGifApplicationExtensionProperties
      • WicGifCommentExtensionProperties
      • WicGifGraphicControlExtensionProperties
      • WicGifImageDescriptorProperties
      • WicGifLogicalScreenDescriptorProperties
      • WicGuids
      • WicHeifCompressionOption
      • WicHeifHdrProperties
      • WicHeifProperties
      • WicImageEncoder
      • WicImageParameters
      • WicImagingFactory
      • WicJpegChrominanceProperties
      • WicJpegCommentProperties
      • WicJpegIndexingOptions
      • WicJpegLuminanceProperties
      • WicJpegScanType
      • WicJpegTransferMatrix
      • WicJpegXLAnimFrameProperties
      • WicJpegXLAnimProperties
      • WicJpegYCrCbSubsamplingOption
      • WicNamedWhitePoint
      • WicPalette
      • WicPixelFormatGuid
      • WicPixelFormatInfo
      • WicPixelFormatNumericRepresentation
      • WicPlanarBitmapFrameEncode
      • WicPlanarFormatConverter
      • WicPlanarOptions
      • WicPngBkgdProperties
      • WicPngChrmProperties
      • WicPngFilterOption
      • WicPngGamaProperties
      • WicPngHistProperties
      • WicPngIccpProperties
      • WicPngItxtProperties
      • WicPngSrgbProperties
      • WicPngTimeProperties
      • WicProgressNotification
      • WicProgressOperation
      • WicRawCapabilities
      • WicRawParameterSet
      • WicRawRenderMode
      • WicRawRotationCapabilities
      • WicRect
      • WicSectionAccessLevel
      • WicTiffCompressionOption
      • WicWebpAnimProperties
      • WicWebpAnmfProperties
      • WicWin32GenericAccessRights

    Class D3D11Device

    The device interface represents a virtual adapter; it is used to create resources.

    Inheritance
    object
    DXComObject
    D3D11Device
    Implements
    IDisposable
    Inherited Members
    DXComObject.Handle
    DXComObject.Dispose()
    DXComObject.AddRef()
    DXComObject.Release()
    DXComObject.QueryInterface(in Guid)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: JeremyAnsel.DirectX.D3D11
    Assembly: JeremyAnsel.DirectX.D3D11.dll
    Syntax
    [SecurityCritical]
    public class D3D11Device : DXComObject, IDisposable

    Constructors

    | Edit this page View Source

    D3D11Device(nint)

    Initializes a new instance of the D3D11Device class.

    Declaration
    public D3D11Device(nint comPtr)
    Parameters
    Type Name Description
    nint comPtr

    Fields

    | Edit this page View Source

    D3D11DeviceGuid

    The interface GUID.

    Declaration
    public static readonly Guid D3D11DeviceGuid
    Field Value
    Type Description
    Guid

    Properties

    | Edit this page View Source

    CreationOptions

    Gets the options used during the call to create the device.

    Declaration
    public D3D11CreateDeviceOptions CreationOptions { get; }
    Property Value
    Type Description
    D3D11CreateDeviceOptions
    | Edit this page View Source

    FeatureLevel

    Gets the feature level of the hardware device.

    Declaration
    public D3D11FeatureLevel FeatureLevel { get; }
    Property Value
    Type Description
    D3D11FeatureLevel

    Methods

    | Edit this page View Source

    CheckCounter(in D3D11CounterDesc, out D3D11CounterDataType, out uint)

    Get the type, name, units of measure, and a description of an existing counter.

    Declaration
    public bool CheckCounter(in D3D11CounterDesc desc, out D3D11CounterDataType type, out uint activeCounters)
    Parameters
    Type Name Description
    D3D11CounterDesc desc

    A counter description.

    D3D11CounterDataType type

    The data type of a counter.

    uint activeCounters

    The number of hardware counters that are needed for this counter type to be created. All instances of the same counter type use the same hardware counters.

    Returns
    Type Description
    bool

    A boolean value.

    | Edit this page View Source

    CheckCounter(in D3D11CounterDesc, out D3D11CounterDataType, out uint, Span<char>, Span<char>, Span<char>)

    Get the type, name, units of measure, and a description of an existing counter.

    Declaration
    public bool CheckCounter(in D3D11CounterDesc desc, out D3D11CounterDataType type, out uint activeCounters, Span<char> name, Span<char> units, Span<char> description)
    Parameters
    Type Name Description
    D3D11CounterDesc desc

    A counter description.

    D3D11CounterDataType type

    The data type of a counter.

    uint activeCounters

    The number of hardware counters that are needed for this counter type to be created. All instances of the same counter type use the same hardware counters.

    Span<char> name

    String to be filled with a brief name for the counter.

    Span<char> units

    Name of the units a counter measures.

    Span<char> description

    A description of the counter.

    Returns
    Type Description
    bool

    A boolean value.

    | Edit this page View Source

    CheckCounter(in D3D11CounterDesc, out D3D11CounterDataType, out uint, out string, out string, out string)

    Get the type, name, units of measure, and a description of an existing counter.

    Declaration
    public bool CheckCounter(in D3D11CounterDesc desc, out D3D11CounterDataType type, out uint activeCounters, out string name, out string units, out string description)
    Parameters
    Type Name Description
    D3D11CounterDesc desc

    A counter description.

    D3D11CounterDataType type

    The data type of a counter.

    uint activeCounters

    The number of hardware counters that are needed for this counter type to be created. All instances of the same counter type use the same hardware counters.

    string name

    String to be filled with a brief name for the counter.

    string units

    Name of the units a counter measures.

    string description

    A description of the counter.

    Returns
    Type Description
    bool

    A boolean value.

    | Edit this page View Source

    CheckCounter(in D3D11CounterDesc, out D3D11CounterDataType, out uint, out uint, out uint, out uint)

    Get the type, name, units of measure, and a description of an existing counter.

    Declaration
    public bool CheckCounter(in D3D11CounterDesc desc, out D3D11CounterDataType type, out uint activeCounters, out uint nameSize, out uint unitsSize, out uint descriptionSize)
    Parameters
    Type Name Description
    D3D11CounterDesc desc

    A counter description.

    D3D11CounterDataType type

    The data type of a counter.

    uint activeCounters

    The number of hardware counters that are needed for this counter type to be created. All instances of the same counter type use the same hardware counters.

    uint nameSize
    uint unitsSize
    uint descriptionSize
    Returns
    Type Description
    bool

    A boolean value.

    | Edit this page View Source

    CheckCounterInfo()

    Get a counter's information.

    Declaration
    public D3D11CounterInfo CheckCounterInfo()
    Returns
    Type Description
    D3D11CounterInfo

    A counter information.

    | Edit this page View Source

    CheckFeatureSupport(D3D11Feature)

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public object CheckFeatureSupport(D3D11Feature feature)
    Parameters
    Type Name Description
    D3D11Feature feature

    Describes which feature to query for support.

    Returns
    Type Description
    object

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportArchitectureInfo()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataArchitectureInfo CheckFeatureSupportArchitectureInfo()
    Returns
    Type Description
    D3D11FeatureDataArchitectureInfo

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportD3D10XHardwareOptions()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataD3D10XHardwareOptions CheckFeatureSupportD3D10XHardwareOptions()
    Returns
    Type Description
    D3D11FeatureDataD3D10XHardwareOptions

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportD3D11Options()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataD3D11Options CheckFeatureSupportD3D11Options()
    Returns
    Type Description
    D3D11FeatureDataD3D11Options

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportD3D11Options1()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataD3D11Options1 CheckFeatureSupportD3D11Options1()
    Returns
    Type Description
    D3D11FeatureDataD3D11Options1

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportD3D9Options()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataD3D9Options CheckFeatureSupportD3D9Options()
    Returns
    Type Description
    D3D11FeatureDataD3D9Options

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportD3D9Options1()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataD3D9Options1 CheckFeatureSupportD3D9Options1()
    Returns
    Type Description
    D3D11FeatureDataD3D9Options1

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportD3D9ShadowSupport()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataD3D9ShadowSupport CheckFeatureSupportD3D9ShadowSupport()
    Returns
    Type Description
    D3D11FeatureDataD3D9ShadowSupport

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportD3D9SimpleInstancingSupport()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataD3D9SimpleInstancingSupport CheckFeatureSupportD3D9SimpleInstancingSupport()
    Returns
    Type Description
    D3D11FeatureDataD3D9SimpleInstancingSupport

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportDoubles()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataDoubles CheckFeatureSupportDoubles()
    Returns
    Type Description
    D3D11FeatureDataDoubles

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportFormatSupport()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataFormatSupport CheckFeatureSupportFormatSupport()
    Returns
    Type Description
    D3D11FeatureDataFormatSupport

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportFormatSupport2()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataFormatSupport2 CheckFeatureSupportFormatSupport2()
    Returns
    Type Description
    D3D11FeatureDataFormatSupport2

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportMarkerSupport()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataMarkerSupport CheckFeatureSupportMarkerSupport()
    Returns
    Type Description
    D3D11FeatureDataMarkerSupport

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportShaderMinPrecisionSupport()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataShaderMinPrecisionSupport CheckFeatureSupportShaderMinPrecisionSupport()
    Returns
    Type Description
    D3D11FeatureDataShaderMinPrecisionSupport

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFeatureSupportThreading()

    Gets information about the features that are supported by the current graphics driver.

    Declaration
    public D3D11FeatureDataThreading CheckFeatureSupportThreading()
    Returns
    Type Description
    D3D11FeatureDataThreading

    A structure filled with data that describes the feature support.

    | Edit this page View Source

    CheckFormatSupport(DxgiFormat, out D3D11FormatSupport)

    Get the support of a given format on the installed video device.

    Declaration
    public bool CheckFormatSupport(DxgiFormat format, out D3D11FormatSupport formatSupport)
    Parameters
    Type Name Description
    DxgiFormat format

    A format for which to check for support.

    D3D11FormatSupport formatSupport

    Describes how the specified format is supported on the installed device.

    Returns
    Type Description
    bool

    A boolean value.

    | Edit this page View Source

    CheckMultisampleQualityLevels(DxgiFormat, uint, out uint)

    Get the number of quality levels available during multisampling.

    Declaration
    public bool CheckMultisampleQualityLevels(DxgiFormat format, uint sampleCount, out uint numQualityLevels)
    Parameters
    Type Name Description
    DxgiFormat format

    The texture format.

    uint sampleCount

    The number of samples during multisampling.

    uint numQualityLevels

    The number of quality levels supported by the adapter.

    Returns
    Type Description
    bool

    A boolean value.

    | Edit this page View Source

    CreateBlendState(in D3D11BlendDesc)

    Create a blend-state object that encapsules blend state for the output-merger stage.

    Declaration
    public D3D11BlendState CreateBlendState(in D3D11BlendDesc desc)
    Parameters
    Type Name Description
    D3D11BlendDesc desc

    A blend-state description.

    Returns
    Type Description
    D3D11BlendState

    The created blend-state object.

    | Edit this page View Source

    CreateBuffer(in D3D11BufferDesc)

    Creates a buffer (vertex buffer, index buffer, or shader constant buffer).

    Declaration
    public D3D11Buffer CreateBuffer(in D3D11BufferDesc desc)
    Parameters
    Type Name Description
    D3D11BufferDesc desc

    Describes the buffer.

    Returns
    Type Description
    D3D11Buffer

    The buffer object created.

    | Edit this page View Source

    CreateBuffer(in D3D11BufferDesc, in D3D11SubResourceData)

    Creates a buffer (vertex buffer, index buffer, or shader constant buffer).

    Declaration
    public D3D11Buffer CreateBuffer(in D3D11BufferDesc desc, in D3D11SubResourceData data)
    Parameters
    Type Name Description
    D3D11BufferDesc desc

    Describes the buffer.

    D3D11SubResourceData data

    Describes the initialization data.

    Returns
    Type Description
    D3D11Buffer

    The buffer object created.

    | Edit this page View Source

    CreateBuffer(in D3D11BufferDesc, in D3D11SubResourceDataPtr)

    Creates a buffer (vertex buffer, index buffer, or shader constant buffer).

    Declaration
    public D3D11Buffer CreateBuffer(in D3D11BufferDesc desc, in D3D11SubResourceDataPtr data)
    Parameters
    Type Name Description
    D3D11BufferDesc desc

    Describes the buffer.

    D3D11SubResourceDataPtr data

    Describes the initialization data.

    Returns
    Type Description
    D3D11Buffer

    The buffer object created.

    | Edit this page View Source

    CreateBuffer<T>(in D3D11BufferDesc, ReadOnlySpan<T>, uint, uint)

    Creates a buffer (vertex buffer, index buffer, or shader constant buffer).

    Declaration
    public D3D11Buffer CreateBuffer<T>(in D3D11BufferDesc desc, ReadOnlySpan<T> data, uint sysMemPitch, uint sysMemSlicePitch) where T : unmanaged
    Parameters
    Type Name Description
    D3D11BufferDesc desc

    Describes the buffer.

    ReadOnlySpan<T> data

    Describes the initialization data.

    uint sysMemPitch

    The distance (in bytes) from the beginning of one line of a texture to the next line.

    uint sysMemSlicePitch

    The distance (in bytes) from the beginning of one depth level to the next.

    Returns
    Type Description
    D3D11Buffer

    The buffer object created.

    Type Parameters
    Name Description
    T

    A array of struct.

    | Edit this page View Source

    CreateBuffer<T>(in D3D11BufferDesc, in T, uint, uint)

    Creates a buffer (vertex buffer, index buffer, or shader constant buffer).

    Declaration
    public D3D11Buffer CreateBuffer<T>(in D3D11BufferDesc desc, in T data, uint sysMemPitch, uint sysMemSlicePitch) where T : unmanaged
    Parameters
    Type Name Description
    D3D11BufferDesc desc

    Describes the buffer.

    T data

    Describes the initialization data.

    uint sysMemPitch

    The distance (in bytes) from the beginning of one line of a texture to the next line.

    uint sysMemSlicePitch

    The distance (in bytes) from the beginning of one depth level to the next.

    Returns
    Type Description
    D3D11Buffer

    The buffer object created.

    Type Parameters
    Name Description
    T

    A struct.

    | Edit this page View Source

    CreateBuffer<T>(in D3D11BufferDesc, T[]?, uint, uint)

    Creates a buffer (vertex buffer, index buffer, or shader constant buffer).

    Declaration
    public D3D11Buffer CreateBuffer<T>(in D3D11BufferDesc desc, T[]? data, uint sysMemPitch, uint sysMemSlicePitch) where T : unmanaged
    Parameters
    Type Name Description
    D3D11BufferDesc desc

    Describes the buffer.

    T[] data

    Describes the initialization data.

    uint sysMemPitch

    The distance (in bytes) from the beginning of one line of a texture to the next line.

    uint sysMemSlicePitch

    The distance (in bytes) from the beginning of one depth level to the next.

    Returns
    Type Description
    D3D11Buffer

    The buffer object created.

    Type Parameters
    Name Description
    T

    A array of struct.

    | Edit this page View Source

    CreateClassLinkage()

    Creates class linkage libraries to enable dynamic shader linkage.

    Declaration
    public D3D11ClassLinkage CreateClassLinkage()
    Returns
    Type Description
    D3D11ClassLinkage

    The created class linkage.

    | Edit this page View Source

    CreateComputeShader(byte[]?)

    Create a compute shader.

    Declaration
    public D3D11ComputeShader CreateComputeShader(byte[]? shaderBytecode)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11ComputeShader

    The created compute shader.

    | Edit this page View Source

    CreateComputeShader(byte[]?, D3D11ClassLinkage?)

    Create a compute shader.

    Declaration
    public D3D11ComputeShader CreateComputeShader(byte[]? shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11ComputeShader

    The created compute shader.

    | Edit this page View Source

    CreateComputeShader(ReadOnlySpan<byte>)

    Create a compute shader.

    Declaration
    public D3D11ComputeShader CreateComputeShader(ReadOnlySpan<byte> shaderBytecode)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11ComputeShader

    The created compute shader.

    | Edit this page View Source

    CreateComputeShader(ReadOnlySpan<byte>, D3D11ClassLinkage?)

    Create a compute shader.

    Declaration
    public D3D11ComputeShader CreateComputeShader(ReadOnlySpan<byte> shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11ComputeShader

    The created compute shader.

    | Edit this page View Source

    CreateCounter(in D3D11CounterDesc)

    Create a counter object for measuring GPU performance.

    Declaration
    public D3D11Counter CreateCounter(in D3D11CounterDesc desc)
    Parameters
    Type Name Description
    D3D11CounterDesc desc

    A counter description.

    Returns
    Type Description
    D3D11Counter

    The created counter.

    | Edit this page View Source

    CreateDeferredContext()

    Creates a deferred context, which can record command lists.

    Declaration
    public D3D11DeviceContext CreateDeferredContext()
    Returns
    Type Description
    D3D11DeviceContext

    The created deferred context.

    | Edit this page View Source

    CreateDepthStencilState(in D3D11DepthStencilDesc)

    Create a depth-stencil state object that encapsulates depth-stencil test information for the output-merger stage.

    Declaration
    public D3D11DepthStencilState CreateDepthStencilState(in D3D11DepthStencilDesc desc)
    Parameters
    Type Name Description
    D3D11DepthStencilDesc desc

    A depth-stencil state description.

    Returns
    Type Description
    D3D11DepthStencilState

    The created depth-stencil state object.

    | Edit this page View Source

    CreateDepthStencilView(D3D11Resource?)

    Create a depth-stencil view for accessing resource data.

    Declaration
    public D3D11DepthStencilView CreateDepthStencilView(D3D11Resource? resource)
    Parameters
    Type Name Description
    D3D11Resource resource

    The resource that will serve as the depth-stencil surface.

    Returns
    Type Description
    D3D11DepthStencilView

    The created depth-stencil view.

    | Edit this page View Source

    CreateDepthStencilView(D3D11Resource?, in D3D11DepthStencilViewDesc?)

    Create a depth-stencil view for accessing resource data.

    Declaration
    public D3D11DepthStencilView CreateDepthStencilView(D3D11Resource? resource, in D3D11DepthStencilViewDesc? desc)
    Parameters
    Type Name Description
    D3D11Resource resource

    The resource that will serve as the depth-stencil surface.

    D3D11DepthStencilViewDesc? desc

    A depth-stencil-view description.

    Returns
    Type Description
    D3D11DepthStencilView

    The created depth-stencil view.

    | Edit this page View Source

    CreateDomainShader(byte[]?)

    Create a domain shader.

    Declaration
    public D3D11DomainShader CreateDomainShader(byte[]? shaderBytecode)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11DomainShader

    The created domain shader.

    | Edit this page View Source

    CreateDomainShader(byte[]?, D3D11ClassLinkage?)

    Create a domain shader.

    Declaration
    public D3D11DomainShader CreateDomainShader(byte[]? shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11DomainShader

    The created domain shader.

    | Edit this page View Source

    CreateDomainShader(ReadOnlySpan<byte>)

    Create a domain shader.

    Declaration
    public D3D11DomainShader CreateDomainShader(ReadOnlySpan<byte> shaderBytecode)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11DomainShader

    The created domain shader.

    | Edit this page View Source

    CreateDomainShader(ReadOnlySpan<byte>, D3D11ClassLinkage?)

    Create a domain shader.

    Declaration
    public D3D11DomainShader CreateDomainShader(ReadOnlySpan<byte> shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11DomainShader

    The created domain shader.

    | Edit this page View Source

    CreateGeometryShader(byte[]?)

    Create a geometry shader.

    Declaration
    public D3D11GeometryShader CreateGeometryShader(byte[]? shaderBytecode)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShader(byte[]?, D3D11ClassLinkage?)

    Create a geometry shader.

    Declaration
    public D3D11GeometryShader CreateGeometryShader(byte[]? shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShader(ReadOnlySpan<byte>)

    Create a geometry shader.

    Declaration
    public D3D11GeometryShader CreateGeometryShader(ReadOnlySpan<byte> shaderBytecode)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShader(ReadOnlySpan<byte>, D3D11ClassLinkage?)

    Create a geometry shader.

    Declaration
    public D3D11GeometryShader CreateGeometryShader(ReadOnlySpan<byte> shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShaderWithStreamOutput(byte[]?, D3D11StreamOutputDeclarationEntry[]?, uint)

    Creates a geometry shader that can write to streaming output buffers.

    Declaration
    public D3D11GeometryShader CreateGeometryShaderWithStreamOutput(byte[]? shaderBytecode, D3D11StreamOutputDeclarationEntry[]? streamOutputDeclaration, uint rasterizedStream)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled geometry shader for a standard geometry shader plus stream output.

    D3D11StreamOutputDeclarationEntry[] streamOutputDeclaration

    A D3D11StreamOutputDeclarationEntry array.

    uint rasterizedStream

    The index number of the stream to be sent to the rasterizer stage.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShaderWithStreamOutput(byte[]?, D3D11StreamOutputDeclarationEntry[]?, uint[]?, uint)

    Creates a geometry shader that can write to streaming output buffers.

    Declaration
    public D3D11GeometryShader CreateGeometryShaderWithStreamOutput(byte[]? shaderBytecode, D3D11StreamOutputDeclarationEntry[]? streamOutputDeclaration, uint[]? bufferStrides, uint rasterizedStream)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled geometry shader for a standard geometry shader plus stream output.

    D3D11StreamOutputDeclarationEntry[] streamOutputDeclaration

    A D3D11StreamOutputDeclarationEntry array.

    uint[] bufferStrides

    An array of buffer strides; each stride is the size of an element for that buffer.

    uint rasterizedStream

    The index number of the stream to be sent to the rasterizer stage.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShaderWithStreamOutput(byte[]?, D3D11StreamOutputDeclarationEntry[]?, uint[]?, uint, D3D11ClassLinkage?)

    Creates a geometry shader that can write to streaming output buffers.

    Declaration
    public D3D11GeometryShader CreateGeometryShaderWithStreamOutput(byte[]? shaderBytecode, D3D11StreamOutputDeclarationEntry[]? streamOutputDeclaration, uint[]? bufferStrides, uint rasterizedStream, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled geometry shader for a standard geometry shader plus stream output.

    D3D11StreamOutputDeclarationEntry[] streamOutputDeclaration

    A D3D11StreamOutputDeclarationEntry array.

    uint[] bufferStrides

    An array of buffer strides; each stride is the size of an element for that buffer.

    uint rasterizedStream

    The index number of the stream to be sent to the rasterizer stage.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShaderWithStreamOutput(ReadOnlySpan<byte>, ReadOnlySpan<D3D11StreamOutputDeclarationEntry>, ReadOnlySpan<uint>, uint)

    Creates a geometry shader that can write to streaming output buffers.

    Declaration
    public D3D11GeometryShader CreateGeometryShaderWithStreamOutput(ReadOnlySpan<byte> shaderBytecode, ReadOnlySpan<D3D11StreamOutputDeclarationEntry> streamOutputDeclaration, ReadOnlySpan<uint> bufferStrides, uint rasterizedStream)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled geometry shader for a standard geometry shader plus stream output.

    ReadOnlySpan<D3D11StreamOutputDeclarationEntry> streamOutputDeclaration

    A D3D11StreamOutputDeclarationEntry array.

    ReadOnlySpan<uint> bufferStrides

    An array of buffer strides; each stride is the size of an element for that buffer.

    uint rasterizedStream

    The index number of the stream to be sent to the rasterizer stage.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShaderWithStreamOutput(ReadOnlySpan<byte>, ReadOnlySpan<D3D11StreamOutputDeclarationEntry>, ReadOnlySpan<uint>, uint, D3D11ClassLinkage?)

    Creates a geometry shader that can write to streaming output buffers.

    Declaration
    public D3D11GeometryShader CreateGeometryShaderWithStreamOutput(ReadOnlySpan<byte> shaderBytecode, ReadOnlySpan<D3D11StreamOutputDeclarationEntry> streamOutputDeclaration, ReadOnlySpan<uint> bufferStrides, uint rasterizedStream, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled geometry shader for a standard geometry shader plus stream output.

    ReadOnlySpan<D3D11StreamOutputDeclarationEntry> streamOutputDeclaration

    A D3D11StreamOutputDeclarationEntry array.

    ReadOnlySpan<uint> bufferStrides

    An array of buffer strides; each stride is the size of an element for that buffer.

    uint rasterizedStream

    The index number of the stream to be sent to the rasterizer stage.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateGeometryShaderWithStreamOutput(ReadOnlySpan<byte>, ReadOnlySpan<D3D11StreamOutputDeclarationEntry>, uint)

    Creates a geometry shader that can write to streaming output buffers.

    Declaration
    public D3D11GeometryShader CreateGeometryShaderWithStreamOutput(ReadOnlySpan<byte> shaderBytecode, ReadOnlySpan<D3D11StreamOutputDeclarationEntry> streamOutputDeclaration, uint rasterizedStream)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled geometry shader for a standard geometry shader plus stream output.

    ReadOnlySpan<D3D11StreamOutputDeclarationEntry> streamOutputDeclaration

    A D3D11StreamOutputDeclarationEntry array.

    uint rasterizedStream

    The index number of the stream to be sent to the rasterizer stage.

    Returns
    Type Description
    D3D11GeometryShader

    The created geometry shader.

    | Edit this page View Source

    CreateHullShader(byte[]?)

    Create a hull shader.

    Declaration
    public D3D11HullShader CreateHullShader(byte[]? shaderBytecode)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11HullShader

    The created hull shader.

    | Edit this page View Source

    CreateHullShader(byte[]?, D3D11ClassLinkage?)

    Create a hull shader.

    Declaration
    public D3D11HullShader CreateHullShader(byte[]? shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11HullShader

    The created hull shader.

    | Edit this page View Source

    CreateHullShader(ReadOnlySpan<byte>)

    Create a hull shader.

    Declaration
    public D3D11HullShader CreateHullShader(ReadOnlySpan<byte> shaderBytecode)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11HullShader

    The created hull shader.

    | Edit this page View Source

    CreateHullShader(ReadOnlySpan<byte>, D3D11ClassLinkage?)

    Create a hull shader.

    Declaration
    public D3D11HullShader CreateHullShader(ReadOnlySpan<byte> shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11HullShader

    The created hull shader.

    | Edit this page View Source

    CreateInputLayout(D3D11InputElementDesc[]?, byte[]?)

    Create an input-layout object to describe the input-buffer data for the input-assembler stage.

    Declaration
    public D3D11InputLayout CreateInputLayout(D3D11InputElementDesc[]? elementDescs, byte[]? shaderBytecodeWithInputSignature)
    Parameters
    Type Name Description
    D3D11InputElementDesc[] elementDescs

    An array of the input-assembler stage input data types; each type is described by an element description.

    byte[] shaderBytecodeWithInputSignature

    The compiled shader. The compiled shader code contains a input signature which is validated against the array of elements.

    Returns
    Type Description
    D3D11InputLayout

    The created input-layout object.

    | Edit this page View Source

    CreateInputLayout(ReadOnlySpan<D3D11InputElementDesc>, ReadOnlySpan<byte>)

    Create an input-layout object to describe the input-buffer data for the input-assembler stage.

    Declaration
    public D3D11InputLayout CreateInputLayout(ReadOnlySpan<D3D11InputElementDesc> elementDescs, ReadOnlySpan<byte> shaderBytecodeWithInputSignature)
    Parameters
    Type Name Description
    ReadOnlySpan<D3D11InputElementDesc> elementDescs

    An array of the input-assembler stage input data types; each type is described by an element description.

    ReadOnlySpan<byte> shaderBytecodeWithInputSignature

    The compiled shader. The compiled shader code contains a input signature which is validated against the array of elements.

    Returns
    Type Description
    D3D11InputLayout

    The created input-layout object.

    | Edit this page View Source

    CreatePixelShader(byte[]?)

    Create a pixel shader.

    Declaration
    public D3D11PixelShader CreatePixelShader(byte[]? shaderBytecode)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11PixelShader

    The created pixel shader.

    | Edit this page View Source

    CreatePixelShader(byte[]?, D3D11ClassLinkage?)

    Create a pixel shader.

    Declaration
    public D3D11PixelShader CreatePixelShader(byte[]? shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11PixelShader

    The created pixel shader.

    | Edit this page View Source

    CreatePixelShader(ReadOnlySpan<byte>)

    Create a pixel shader.

    Declaration
    public D3D11PixelShader CreatePixelShader(ReadOnlySpan<byte> shaderBytecode)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11PixelShader

    The created pixel shader.

    | Edit this page View Source

    CreatePixelShader(ReadOnlySpan<byte>, D3D11ClassLinkage?)

    Create a pixel shader.

    Declaration
    public D3D11PixelShader CreatePixelShader(ReadOnlySpan<byte> shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11PixelShader

    The created pixel shader.

    | Edit this page View Source

    CreatePredicate(in D3D11QueryDesc)

    Creates a predicate.

    Declaration
    public D3D11Predicate CreatePredicate(in D3D11QueryDesc desc)
    Parameters
    Type Name Description
    D3D11QueryDesc desc

    A query description for a predicate.

    Returns
    Type Description
    D3D11Predicate

    The created predicate.

    | Edit this page View Source

    CreateQuery(in D3D11QueryDesc)

    Creates an object for querying information from the GPU.

    Declaration
    public D3D11Query CreateQuery(in D3D11QueryDesc desc)
    Parameters
    Type Name Description
    D3D11QueryDesc desc

    A query description.

    Returns
    Type Description
    D3D11Query

    The created query.

    | Edit this page View Source

    CreateRasterizerState(in D3D11RasterizerDesc)

    Create a rasterizer state object that tells the rasterizer stage how to behave.

    Declaration
    public D3D11RasterizerState CreateRasterizerState(in D3D11RasterizerDesc desc)
    Parameters
    Type Name Description
    D3D11RasterizerDesc desc

    A rasterizer state description.

    Returns
    Type Description
    D3D11RasterizerState

    The created rasterizer state object.

    | Edit this page View Source

    CreateRenderTargetView(D3D11Resource?)

    Creates a render-target view for accessing resource data.

    Declaration
    public D3D11RenderTargetView CreateRenderTargetView(D3D11Resource? resource)
    Parameters
    Type Name Description
    D3D11Resource resource

    A render target resource.

    Returns
    Type Description
    D3D11RenderTargetView

    The created render target view.

    | Edit this page View Source

    CreateRenderTargetView(D3D11Resource?, in D3D11RenderTargetViewDesc?)

    Creates a render-target view for accessing resource data.

    Declaration
    public D3D11RenderTargetView CreateRenderTargetView(D3D11Resource? resource, in D3D11RenderTargetViewDesc? desc)
    Parameters
    Type Name Description
    D3D11Resource resource

    A render target resource.

    D3D11RenderTargetViewDesc? desc

    A render-target view description.

    Returns
    Type Description
    D3D11RenderTargetView

    The created render target view.

    | Edit this page View Source

    CreateSamplerState(in D3D11SamplerDesc)

    Create a sampler-state object that encapsulates sampling information for a texture.

    Declaration
    public D3D11SamplerState CreateSamplerState(in D3D11SamplerDesc desc)
    Parameters
    Type Name Description
    D3D11SamplerDesc desc

    A sampler state description.

    Returns
    Type Description
    D3D11SamplerState

    The created sampler-state object.

    | Edit this page View Source

    CreateShaderResourceView(D3D11Resource?)

    Create a shader resource view for accessing data in a resource.

    Declaration
    public D3D11ShaderResourceView CreateShaderResourceView(D3D11Resource? resource)
    Parameters
    Type Name Description
    D3D11Resource resource

    The resource that will serve as input to a shader.

    Returns
    Type Description
    D3D11ShaderResourceView

    The created shader resource view.

    | Edit this page View Source

    CreateShaderResourceView(D3D11Resource?, in D3D11ShaderResourceViewDesc?)

    Create a shader resource view for accessing data in a resource.

    Declaration
    public D3D11ShaderResourceView CreateShaderResourceView(D3D11Resource? resource, in D3D11ShaderResourceViewDesc? desc)
    Parameters
    Type Name Description
    D3D11Resource resource

    The resource that will serve as input to a shader.

    D3D11ShaderResourceViewDesc? desc

    A shader resource view description.

    Returns
    Type Description
    D3D11ShaderResourceView

    The created shader resource view.

    | Edit this page View Source

    CreateTexture1D(in D3D11Texture1DDesc)

    Creates an array of 1D textures.

    Declaration
    public D3D11Texture1D CreateTexture1D(in D3D11Texture1DDesc desc)
    Parameters
    Type Name Description
    D3D11Texture1DDesc desc

    Describes a 1D texture resource.

    Returns
    Type Description
    D3D11Texture1D

    The created texture.

    | Edit this page View Source

    CreateTexture1D(in D3D11Texture1DDesc, D3D11SubResourceDataPtr[]?)

    Creates an array of 1D textures.

    Declaration
    public D3D11Texture1D CreateTexture1D(in D3D11Texture1DDesc desc, D3D11SubResourceDataPtr[]? data)
    Parameters
    Type Name Description
    D3D11Texture1DDesc desc

    Describes a 1D texture resource.

    D3D11SubResourceDataPtr[] data

    Describe subresources for the 1D texture resource.

    Returns
    Type Description
    D3D11Texture1D

    The created texture.

    | Edit this page View Source

    CreateTexture1D(in D3D11Texture1DDesc, D3D11SubResourceData[]?)

    Creates an array of 1D textures.

    Declaration
    public D3D11Texture1D CreateTexture1D(in D3D11Texture1DDesc desc, D3D11SubResourceData[]? data)
    Parameters
    Type Name Description
    D3D11Texture1DDesc desc

    Describes a 1D texture resource.

    D3D11SubResourceData[] data

    Describe subresources for the 1D texture resource.

    Returns
    Type Description
    D3D11Texture1D

    The created texture.

    | Edit this page View Source

    CreateTexture1D(in D3D11Texture1DDesc, ReadOnlySpan<D3D11SubResourceDataPtr>)

    Creates an array of 1D textures.

    Declaration
    public D3D11Texture1D CreateTexture1D(in D3D11Texture1DDesc desc, ReadOnlySpan<D3D11SubResourceDataPtr> data)
    Parameters
    Type Name Description
    D3D11Texture1DDesc desc

    Describes a 1D texture resource.

    ReadOnlySpan<D3D11SubResourceDataPtr> data

    Describe subresources for the 1D texture resource.

    Returns
    Type Description
    D3D11Texture1D

    The created texture.

    | Edit this page View Source

    CreateTexture1D(in D3D11Texture1DDesc, ReadOnlySpan<D3D11SubResourceData>)

    Creates an array of 1D textures.

    Declaration
    public D3D11Texture1D CreateTexture1D(in D3D11Texture1DDesc desc, ReadOnlySpan<D3D11SubResourceData> data)
    Parameters
    Type Name Description
    D3D11Texture1DDesc desc

    Describes a 1D texture resource.

    ReadOnlySpan<D3D11SubResourceData> data

    Describe subresources for the 1D texture resource.

    Returns
    Type Description
    D3D11Texture1D

    The created texture.

    | Edit this page View Source

    CreateTexture2D(in D3D11Texture2DDesc)

    Create an array of 2D textures.

    Declaration
    public D3D11Texture2D CreateTexture2D(in D3D11Texture2DDesc desc)
    Parameters
    Type Name Description
    D3D11Texture2DDesc desc

    Describes a 2D texture resource.

    Returns
    Type Description
    D3D11Texture2D

    The created texture.

    | Edit this page View Source

    CreateTexture2D(in D3D11Texture2DDesc, D3D11SubResourceDataPtr[]?)

    Create an array of 2D textures.

    Declaration
    public D3D11Texture2D CreateTexture2D(in D3D11Texture2DDesc desc, D3D11SubResourceDataPtr[]? data)
    Parameters
    Type Name Description
    D3D11Texture2DDesc desc

    Describes a 2D texture resource.

    D3D11SubResourceDataPtr[] data

    Describe subresources for the 2D texture resource.

    Returns
    Type Description
    D3D11Texture2D

    The created texture.

    | Edit this page View Source

    CreateTexture2D(in D3D11Texture2DDesc, D3D11SubResourceData[]?)

    Create an array of 2D textures.

    Declaration
    public D3D11Texture2D CreateTexture2D(in D3D11Texture2DDesc desc, D3D11SubResourceData[]? data)
    Parameters
    Type Name Description
    D3D11Texture2DDesc desc

    Describes a 2D texture resource.

    D3D11SubResourceData[] data

    Describe subresources for the 2D texture resource.

    Returns
    Type Description
    D3D11Texture2D

    The created texture.

    | Edit this page View Source

    CreateTexture2D(in D3D11Texture2DDesc, ReadOnlySpan<D3D11SubResourceDataPtr>)

    Create an array of 2D textures.

    Declaration
    public D3D11Texture2D CreateTexture2D(in D3D11Texture2DDesc desc, ReadOnlySpan<D3D11SubResourceDataPtr> data)
    Parameters
    Type Name Description
    D3D11Texture2DDesc desc

    Describes a 2D texture resource.

    ReadOnlySpan<D3D11SubResourceDataPtr> data

    Describe subresources for the 2D texture resource.

    Returns
    Type Description
    D3D11Texture2D

    The created texture.

    | Edit this page View Source

    CreateTexture2D(in D3D11Texture2DDesc, ReadOnlySpan<D3D11SubResourceData>)

    Create an array of 2D textures.

    Declaration
    public D3D11Texture2D CreateTexture2D(in D3D11Texture2DDesc desc, ReadOnlySpan<D3D11SubResourceData> data)
    Parameters
    Type Name Description
    D3D11Texture2DDesc desc

    Describes a 2D texture resource.

    ReadOnlySpan<D3D11SubResourceData> data

    Describe subresources for the 2D texture resource.

    Returns
    Type Description
    D3D11Texture2D

    The created texture.

    | Edit this page View Source

    CreateTexture3D(in D3D11Texture3DDesc)

    Create a single 3D texture.

    Declaration
    public D3D11Texture3D CreateTexture3D(in D3D11Texture3DDesc desc)
    Parameters
    Type Name Description
    D3D11Texture3DDesc desc

    Describes a 3D texture resource.

    Returns
    Type Description
    D3D11Texture3D

    The created texture.

    | Edit this page View Source

    CreateTexture3D(in D3D11Texture3DDesc, D3D11SubResourceDataPtr[]?)

    Create a single 3D texture.

    Declaration
    public D3D11Texture3D CreateTexture3D(in D3D11Texture3DDesc desc, D3D11SubResourceDataPtr[]? data)
    Parameters
    Type Name Description
    D3D11Texture3DDesc desc

    Describes a 3D texture resource.

    D3D11SubResourceDataPtr[] data

    Describe subresources for the 3D texture resource.

    Returns
    Type Description
    D3D11Texture3D

    The created texture.

    | Edit this page View Source

    CreateTexture3D(in D3D11Texture3DDesc, D3D11SubResourceData[]?)

    Create a single 3D texture.

    Declaration
    public D3D11Texture3D CreateTexture3D(in D3D11Texture3DDesc desc, D3D11SubResourceData[]? data)
    Parameters
    Type Name Description
    D3D11Texture3DDesc desc

    Describes a 3D texture resource.

    D3D11SubResourceData[] data

    Describe subresources for the 3D texture resource.

    Returns
    Type Description
    D3D11Texture3D

    The created texture.

    | Edit this page View Source

    CreateTexture3D(in D3D11Texture3DDesc, ReadOnlySpan<D3D11SubResourceDataPtr>)

    Create a single 3D texture.

    Declaration
    public D3D11Texture3D CreateTexture3D(in D3D11Texture3DDesc desc, ReadOnlySpan<D3D11SubResourceDataPtr> data)
    Parameters
    Type Name Description
    D3D11Texture3DDesc desc

    Describes a 3D texture resource.

    ReadOnlySpan<D3D11SubResourceDataPtr> data

    Describe subresources for the 3D texture resource.

    Returns
    Type Description
    D3D11Texture3D

    The created texture.

    | Edit this page View Source

    CreateTexture3D(in D3D11Texture3DDesc, ReadOnlySpan<D3D11SubResourceData>)

    Create a single 3D texture.

    Declaration
    public D3D11Texture3D CreateTexture3D(in D3D11Texture3DDesc desc, ReadOnlySpan<D3D11SubResourceData> data)
    Parameters
    Type Name Description
    D3D11Texture3DDesc desc

    Describes a 3D texture resource.

    ReadOnlySpan<D3D11SubResourceData> data

    Describe subresources for the 3D texture resource.

    Returns
    Type Description
    D3D11Texture3D

    The created texture.

    | Edit this page View Source

    CreateUnorderedAccessView(D3D11Resource?)

    Creates a view for accessing an unordered access resource.

    Declaration
    public D3D11UnorderedAccessView CreateUnorderedAccessView(D3D11Resource? resource)
    Parameters
    Type Name Description
    D3D11Resource resource

    A resources that will serve as an input to a shader.

    Returns
    Type Description
    D3D11UnorderedAccessView

    The created unordered-access view.

    | Edit this page View Source

    CreateUnorderedAccessView(D3D11Resource?, in D3D11UnorderedAccessViewDesc?)

    Creates a view for accessing an unordered access resource.

    Declaration
    public D3D11UnorderedAccessView CreateUnorderedAccessView(D3D11Resource? resource, in D3D11UnorderedAccessViewDesc? desc)
    Parameters
    Type Name Description
    D3D11Resource resource

    A resources that will serve as an input to a shader.

    D3D11UnorderedAccessViewDesc? desc

    A shader resource view description.

    Returns
    Type Description
    D3D11UnorderedAccessView

    The created unordered-access view.

    | Edit this page View Source

    CreateVertexShader(byte[]?)

    Create a vertex shader object from a compiled shader.

    Declaration
    public D3D11VertexShader CreateVertexShader(byte[]? shaderBytecode)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11VertexShader

    The created vertex shader.

    | Edit this page View Source

    CreateVertexShader(byte[]?, D3D11ClassLinkage?)

    Create a vertex shader object from a compiled shader.

    Declaration
    public D3D11VertexShader CreateVertexShader(byte[]? shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    byte[] shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11VertexShader

    The created vertex shader.

    | Edit this page View Source

    CreateVertexShader(ReadOnlySpan<byte>)

    Create a vertex shader object from a compiled shader.

    Declaration
    public D3D11VertexShader CreateVertexShader(ReadOnlySpan<byte> shaderBytecode)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    Returns
    Type Description
    D3D11VertexShader

    The created vertex shader.

    | Edit this page View Source

    CreateVertexShader(ReadOnlySpan<byte>, D3D11ClassLinkage?)

    Create a vertex shader object from a compiled shader.

    Declaration
    public D3D11VertexShader CreateVertexShader(ReadOnlySpan<byte> shaderBytecode, D3D11ClassLinkage? classLinkage)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> shaderBytecode

    The compiled shader.

    D3D11ClassLinkage classLinkage

    A class linkage interface.

    Returns
    Type Description
    D3D11VertexShader

    The created vertex shader.

    | Edit this page View Source

    GetDebugName()

    Gets a unique name to objects in order to assist the developer during debugging.

    Declaration
    public string GetDebugName()
    Returns
    Type Description
    string

    The friendly name.

    | Edit this page View Source

    GetDebugNameCharCount()

    Gets an application-defined data from the object that is associated with a GUID.

    Declaration
    public int GetDebugNameCharCount()
    Returns
    Type Description
    int

    The count.

    | Edit this page View Source

    GetDebugNameChars(Span<char>)

    Gets an application-defined data from the object that is associated with a GUID.

    Declaration
    public int GetDebugNameChars(Span<char> text)
    Parameters
    Type Name Description
    Span<char> text

    A char buffer.

    Returns
    Type Description
    int

    The object's text.

    | Edit this page View Source

    GetDeviceRemovedReason()

    Get the reason why the device was removed.

    Declaration
    public Exception? GetDeviceRemovedReason()
    Returns
    Type Description
    Exception

    The removed reason exception.

    | Edit this page View Source

    GetImmediateContext()

    Gets an immediate context, which can play back command lists.

    Declaration
    public D3D11DeviceContext GetImmediateContext()
    Returns
    Type Description
    D3D11DeviceContext

    An immediate context.

    | Edit this page View Source

    GetPrivateDataText(in Guid)

    Gets an application-defined data from the object that is associated with a GUID.

    Declaration
    public string GetPrivateDataText(in Guid name)
    Parameters
    Type Name Description
    Guid name

    A GUID identifying the data.

    Returns
    Type Description
    string

    The object's text.

    | Edit this page View Source

    GetPrivateDataTextCharCount(in Guid)

    Gets an application-defined data from the object that is associated with a GUID.

    Declaration
    public int GetPrivateDataTextCharCount(in Guid name)
    Parameters
    Type Name Description
    Guid name

    A GUID identifying the data.

    Returns
    Type Description
    int

    The count.

    | Edit this page View Source

    GetPrivateDataTextChars(in Guid, Span<char>)

    Gets an application-defined data from the object that is associated with a GUID.

    Declaration
    public int GetPrivateDataTextChars(in Guid name, Span<char> text)
    Parameters
    Type Name Description
    Guid name

    A GUID identifying the data.

    Span<char> text

    A char buffer.

    Returns
    Type Description
    int

    The object's text.

    | Edit this page View Source

    OpenSharedBuffer(nint)

    Give a device access to a shared resource created on a different device.

    Declaration
    public D3D11Buffer OpenSharedBuffer(nint resourceHandle)
    Parameters
    Type Name Description
    nint resourceHandle

    A resource handle.

    Returns
    Type Description
    D3D11Buffer

    A pointer to the resource we are gaining access to.

    | Edit this page View Source

    OpenSharedResource(nint, in Guid)

    Give a device access to a shared resource created on a different device.

    Declaration
    public nint OpenSharedResource(nint resourceHandle, in Guid returnedInterface)
    Parameters
    Type Name Description
    nint resourceHandle

    A resource handle.

    Guid returnedInterface

    The globally unique identifier (GUID) for the resource interface.

    Returns
    Type Description
    nint

    A pointer to the resource we are gaining access to.

    | Edit this page View Source

    OpenSharedTexture1D(nint)

    Give a device access to a shared resource created on a different device.

    Declaration
    public D3D11Texture1D OpenSharedTexture1D(nint resourceHandle)
    Parameters
    Type Name Description
    nint resourceHandle

    A resource handle.

    Returns
    Type Description
    D3D11Texture1D

    A pointer to the resource we are gaining access to.

    | Edit this page View Source

    OpenSharedTexture2D(nint)

    Give a device access to a shared resource created on a different device.

    Declaration
    public D3D11Texture2D OpenSharedTexture2D(nint resourceHandle)
    Parameters
    Type Name Description
    nint resourceHandle

    A resource handle.

    Returns
    Type Description
    D3D11Texture2D

    A pointer to the resource we are gaining access to.

    | Edit this page View Source

    OpenSharedTexture3D(nint)

    Give a device access to a shared resource created on a different device.

    Declaration
    public D3D11Texture3D OpenSharedTexture3D(nint resourceHandle)
    Parameters
    Type Name Description
    nint resourceHandle

    A resource handle.

    Returns
    Type Description
    D3D11Texture3D

    A pointer to the resource we are gaining access to.

    | Edit this page View Source

    SetDebugName(ReadOnlySpan<char>)

    Sets a unique name to objects in order to assist the developer during debugging.

    Declaration
    public void SetDebugName(ReadOnlySpan<char> name)
    Parameters
    Type Name Description
    ReadOnlySpan<char> name

    The friendly name.

    | Edit this page View Source

    SetDebugName(string?)

    Sets a unique name to objects in order to assist the developer during debugging.

    Declaration
    public void SetDebugName(string? name)
    Parameters
    Type Name Description
    string name

    The friendly name.

    | Edit this page View Source

    SetPrivateDataText(in Guid, ReadOnlySpan<char>)

    Sets an application-defined data to the object and associates that data with a GUID.

    Declaration
    public void SetPrivateDataText(in Guid name, ReadOnlySpan<char> text)
    Parameters
    Type Name Description
    Guid name

    A GUID that identifies the data.

    ReadOnlySpan<char> text

    The object's text.

    | Edit this page View Source

    SetPrivateDataText(in Guid, string?)

    Sets an application-defined data to the object and associates that data with a GUID.

    Declaration
    public void SetPrivateDataText(in Guid name, string? text)
    Parameters
    Type Name Description
    Guid name

    A GUID that identifies the data.

    string text

    The object's text.

    | Edit this page View Source

    ThrowDeviceRemovedReason()

    Throw a device removed reason exception.

    Declaration
    public void ThrowDeviceRemovedReason()

    Implements

    IDisposable
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2014-2026 Jérémy Ansel