[]
IDXGISwapChain1
[Guid("790a45f7-0d42-4876-983a-0a55cfe6f4aa")]
public class SwapChain1 : SwapChain, IDisposable, IUnknown
Initializes a new instance of the SwapChain1 class.
public SwapChain1(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
GetDescription1
public SwapChainDescription1 Description1 { get; }
GetFullScreenDescription
public SwapChainFullScreenDescription FullScreenDescription { get; }
HRESULT IDXGISwapChain1::GetBackgroundColor([Out] D3DCOLORVALUE* pColor)
public ColorF GetBackgroundColor()
HRESULT IDXGISwapChain1::GetCoreWindow([In] const GUID& refiid,[Out] void** ppUnk)
public IntPtr GetCoreWindow(Guid refiid)
refiid
System.GuidHRESULT IDXGISwapChain1::GetDesc1([Out] DXGI_SWAP_CHAIN_DESC1* pDesc)
public void GetDescription1(out SwapChainDescription1 descRef)
descRef
SwapChainDescription1HRESULT IDXGISwapChain1::GetFullScreenDesc([Out] DXGI_SWAP_CHAIN_FULLSCREEN_DESC* pDesc)
public void GetFullScreenDescription(out SwapChainFullScreenDescription descRef)
descRef
SwapChainFullScreenDescriptionHRESULT IDXGISwapChain1::GetHwnd([Out] HWND* pHwnd)
public IntPtr GetHwnd()
HRESULT IDXGISwapChain1::GetRestrictToOutput([Out] IDXGIOutput** ppRestrictToOutput)
public Output GetRestrictToOutput()
HRESULT IDXGISwapChain1::GetRotation([Out] DXGI_MODE_ROTATION* pRotation)
public DisplayModeRotation GetRotation()
BOOL IDXGISwapChain1::IsTemporaryMonoSupported()
public bool IsTemporaryMonoSupported()
HRESULT IDXGISwapChain1::Present1([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS PresentFlags,[In] const void* pPresentParameters)
public bool Present1(int syncInterval, PresentFlags presentFlags, ref PresentParameters presentParameters)
syncInterval
intpresentFlags
PresentFlagspresentParameters
PresentParametersHRESULT IDXGISwapChain1::Present1([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS PresentFlags,[In] const void* pPresentParameters)
public bool Present1(int syncInterval, PresentFlags presentFlags, RectL[] dirtyRectangles)
syncInterval
intpresentFlags
PresentFlagsdirtyRectangles
RectL[]HRESULT IDXGISwapChain1::SetBackgroundColor([In] const D3DCOLORVALUE* pColor)
public void SetBackgroundColor(ColorF colorRef)
colorRef
ColorFHRESULT IDXGISwapChain1::SetRotation([In] DXGI_MODE_ROTATION Rotation)
public void SetRotation(DisplayModeRotation rotation)
rotation
DisplayModeRotationPerforms an explicit conversion from System.IntPtr to SwapChain1.
public static explicit operator SwapChain1(IntPtr nativePointer)
nativePointer
System.IntPtr