[]
ID3D11BlendState
[Guid("75b68faa-347d-4159-8f45-a0640f01cd9a")]
public class BlendState : DeviceChild, IDisposable, IUnknown
Initializes a new instance of the BlendState class.
public BlendState(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
GetDescription
public BlendStateDescription Description { get; }
Constructs a new BlendState based on the specified description.
public static BlendState Create(Device device, BlendStateDescription description)
device
DeviceThe device with which to associate the state object.
description
BlendStateDescriptionThe state description.
The newly created object.
void ID3D11BlendState::GetDesc([Out] D3D11_BLEND_DESC* pDesc)
public void GetDescription(out BlendStateDescription descRef)
descRef
BlendStateDescriptionPerforms an explicit conversion from System.IntPtr to BlendState.
public static explicit operator BlendState(IntPtr nativePointer)
nativePointer
System.IntPtr