Struct D3D11BlendDesc
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11BlendDesc : IEquatable<D3D11BlendDesc>
Fields
|
Edit this page
View Source
RenderTargetsLength
Declaration
public const int RenderTargetsLength = 8
Field Value
Properties
|
Edit this page
View Source
Default
Gets default blend-state values.
Declaration
public static D3D11BlendDesc Default { get; }
Property Value
|
Edit this page
View Source
IsAlphaToCoverageEnabled
Gets or sets a value indicating whether to use alpha-to-coverage as a multisampling technique when setting a pixel to a render target.
Declaration
public bool IsAlphaToCoverageEnabled { get; set; }
Property Value
|
Edit this page
View Source
IsIndependentBlendEnabled
Gets or sets a value indicating whether to enable independent blending in simultaneous render targets.
Declaration
public bool IsIndependentBlendEnabled { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3D11BlendDesc)
Declaration
public readonly bool Equals(D3D11BlendDesc other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
FillRenderTargets(in D3D11RenderTargetBlendDesc)
Declaration
public void FillRenderTargets(in D3D11RenderTargetBlendDesc blendDesc)
Parameters
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
GetRenderTarget(int)
Declaration
public readonly D3D11RenderTargetBlendDesc GetRenderTarget(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
Exceptions
|
Edit this page
View Source
GetRenderTargets()
Declaration
public readonly D3D11RenderTargetBlendDesc[] GetRenderTargets()
Returns
|
Edit this page
View Source
GetRenderTargetsAsSpan()
Declaration
public readonly Span<D3D11RenderTargetBlendDesc> GetRenderTargetsAsSpan()
Returns
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static D3D11BlendDesc NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D3D11BlendDesc>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D3D11BlendDesc> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in D3D11BlendDesc)
Declaration
public static void NativeWriteTo(nint buffer, in D3D11BlendDesc obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D3D11BlendDesc>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D3D11BlendDesc> objects)
Parameters
|
Edit this page
View Source
SetRenderTarget(int, in D3D11RenderTargetBlendDesc)
Declaration
public void SetRenderTarget(int index, in D3D11RenderTargetBlendDesc blendDesc)
Parameters
Exceptions
|
Edit this page
View Source
SetRenderTargets(D3D11RenderTargetBlendDesc[]?)
Declaration
public void SetRenderTargets(D3D11RenderTargetBlendDesc[]? blendDescs)
Parameters
|
Edit this page
View Source
SetRenderTargets(ReadOnlySpan<D3D11RenderTargetBlendDesc>)
Declaration
public void SetRenderTargets(ReadOnlySpan<D3D11RenderTargetBlendDesc> blendDescs)
Parameters
Operators
|
Edit this page
View Source
operator ==(D3D11BlendDesc, D3D11BlendDesc)
Declaration
public static bool operator ==(D3D11BlendDesc left, D3D11BlendDesc right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3D11BlendDesc, D3D11BlendDesc)
Declaration
public static bool operator !=(D3D11BlendDesc left, D3D11BlendDesc right)
Parameters
Returns
Implements