Versions in this module Expand all Collapse all v0 v0.31.0 Aug 2, 2026 Changes in this version + const DXGI_CREATE_FACTORY_DEBUG — windows/amd64 + const DXGI_ERROR_ACCESS_DENIED — windows/amd64 + const DXGI_ERROR_ACCESS_LOST — windows/amd64 + const DXGI_ERROR_CANNOT_PROTECT_CONTENT — windows/amd64 + const DXGI_ERROR_DEVICE_HUNG — windows/amd64 + const DXGI_ERROR_DEVICE_REMOVED — windows/amd64 + const DXGI_ERROR_DEVICE_RESET — windows/amd64 + const DXGI_ERROR_DRIVER_INTERNAL_ERROR — windows/amd64 + const DXGI_ERROR_DYNAMIC_CODE_POLICY_VIOLATION — windows/amd64 + const DXGI_ERROR_FRAME_STATISTICS_DISJOINT — windows/amd64 + const DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE — windows/amd64 + const DXGI_ERROR_HW_PROTECTION_OUTOFMEMORY — windows/amd64 + const DXGI_ERROR_INVALID_CALL — windows/amd64 + const DXGI_ERROR_MORE_DATA — windows/amd64 + const DXGI_ERROR_NAME_ALREADY_EXISTS — windows/amd64 + const DXGI_ERROR_NONEXCLUSIVE — windows/amd64 + const DXGI_ERROR_NON_COMPOSITED_UI — windows/amd64 + const DXGI_ERROR_NOT_CURRENT — windows/amd64 + const DXGI_ERROR_NOT_CURRENTLY_AVAILABLE — windows/amd64 + const DXGI_ERROR_NOT_FOUND — windows/amd64 + const DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED — windows/amd64 + const DXGI_ERROR_REMOTE_OUTOFMEMORY — windows/amd64 + const DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE — windows/amd64 + const DXGI_ERROR_SDK_COMPONENT_MISSING — windows/amd64 + const DXGI_ERROR_SESSION_DISCONNECTED — windows/amd64 + const DXGI_ERROR_UNSUPPORTED — windows/amd64 + const DXGI_ERROR_WAIT_TIMEOUT — windows/amd64 + const DXGI_ERROR_WAS_STILL_DRAWING — windows/amd64 + const DXGI_STATUS_CLIPPED — windows/amd64 + const DXGI_STATUS_DDA_WAS_STILL_DRAWING — windows/amd64 + const DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE — windows/amd64 + const DXGI_STATUS_MODE_CHANGED — windows/amd64 + const DXGI_STATUS_MODE_CHANGE_IN_PROGRESS — windows/amd64 + const DXGI_STATUS_NO_DESKTOP_ACCESS — windows/amd64 + const DXGI_STATUS_NO_REDIRECTION — windows/amd64 + const DXGI_STATUS_OCCLUDED — windows/amd64 + const DXGI_STATUS_PRESENT_REQUIRED — windows/amd64 + const DXGI_STATUS_UNOCCLUDED — windows/amd64 + var IID_ID3D12Resource = GUID — windows/amd64 + var IID_IDXGIAdapter = GUID — windows/amd64 + var IID_IDXGIAdapter1 = GUID — windows/amd64 + var IID_IDXGIAdapter2 = GUID — windows/amd64 + var IID_IDXGIAdapter3 = GUID — windows/amd64 + var IID_IDXGIAdapter4 = GUID — windows/amd64 + var IID_IDXGIDevice = GUID — windows/amd64 + var IID_IDXGIDeviceSubObject = GUID — windows/amd64 + var IID_IDXGIFactory = GUID — windows/amd64 + var IID_IDXGIFactory1 = GUID — windows/amd64 + var IID_IDXGIFactory2 = GUID — windows/amd64 + var IID_IDXGIFactory3 = GUID — windows/amd64 + var IID_IDXGIFactory4 = GUID — windows/amd64 + var IID_IDXGIFactory5 = GUID — windows/amd64 + var IID_IDXGIFactory6 = GUID — windows/amd64 + var IID_IDXGIFactory7 = GUID — windows/amd64 + var IID_IDXGIObject = GUID — windows/amd64 + var IID_IDXGIOutput = GUID — windows/amd64 + var IID_IDXGIOutput1 = GUID — windows/amd64 + var IID_IDXGIOutput2 = GUID — windows/amd64 + var IID_IDXGIOutput3 = GUID — windows/amd64 + var IID_IDXGIOutput4 = GUID — windows/amd64 + var IID_IDXGIResource = GUID — windows/amd64 + var IID_IDXGISurface = GUID — windows/amd64 + var IID_IDXGISwapChain = GUID — windows/amd64 + var IID_IDXGISwapChain1 = GUID — windows/amd64 + var IID_IDXGISwapChain2 = GUID — windows/amd64 + var IID_IDXGISwapChain3 = GUID — windows/amd64 + var IID_IDXGISwapChain4 = GUID — windows/amd64 + func IsDeviceRemovedError(err error) bool — windows/amd64 + func IsModeChanged(err error) bool — windows/amd64 + func IsOccluded(err error) bool — windows/amd64 + type DXGILib struct — windows/amd64 + func LoadDXGI() (*DXGILib, error) + func (lib *DXGILib) CreateFactory1() (*IDXGIFactory1, error) + func (lib *DXGILib) CreateFactory2(flags uint32) (*IDXGIFactory6, error) + func (lib *DXGILib) CreateFactory4(flags uint32) (*IDXGIFactory4, error) + type DXGI_ADAPTER_DESC1 struct — windows/amd64 + AdapterLuid LUID + DedicatedSystemMemory uint64 + DedicatedVideoMemory uint64 + Description [128]uint16 + DeviceID uint32 + Flags DXGI_ADAPTER_FLAG + Revision uint32 + SharedSystemMemory uint64 + SubSysID uint32 + VendorID uint32 + func (d *DXGI_ADAPTER_DESC1) DescriptionString() string + type DXGI_ADAPTER_DESC3 struct — windows/amd64 + AdapterLuid LUID + ComputePreemptionGranularity uint32 + DedicatedSystemMemory uint64 + DedicatedVideoMemory uint64 + Description [128]uint16 + DeviceID uint32 + Flags DXGI_ADAPTER_FLAG + GraphicsPreemptionGranularity uint32 + Revision uint32 + SharedSystemMemory uint64 + SubSysID uint32 + VendorID uint32 + func (d *DXGI_ADAPTER_DESC3) DescriptionString() string + type DXGI_ADAPTER_FLAG uint32 — windows/amd64 + const DXGI_ADAPTER_FLAG_NONE + const DXGI_ADAPTER_FLAG_REMOTE + const DXGI_ADAPTER_FLAG_SOFTWARE + type DXGI_ALPHA_MODE uint32 — windows/amd64 + const DXGI_ALPHA_MODE_IGNORE + const DXGI_ALPHA_MODE_PREMULTIPLIED + const DXGI_ALPHA_MODE_STRAIGHT + const DXGI_ALPHA_MODE_UNSPECIFIED + type DXGI_FEATURE uint32 — windows/amd64 + const DXGI_FEATURE_PRESENT_ALLOW_TEARING + type DXGI_FORMAT uint32 — windows/amd64 + const DXGI_FORMAT_420_OPAQUE + const DXGI_FORMAT_A8P8 + const DXGI_FORMAT_A8_UNORM + const DXGI_FORMAT_AI44 + const DXGI_FORMAT_AYUV + const DXGI_FORMAT_B4G4R4A4_UNORM + const DXGI_FORMAT_B5G5R5A1_UNORM + const DXGI_FORMAT_B5G6R5_UNORM + const DXGI_FORMAT_B8G8R8A8_TYPELESS + const DXGI_FORMAT_B8G8R8A8_UNORM + const DXGI_FORMAT_B8G8R8A8_UNORM_SRGB + const DXGI_FORMAT_B8G8R8X8_TYPELESS + const DXGI_FORMAT_B8G8R8X8_UNORM + const DXGI_FORMAT_B8G8R8X8_UNORM_SRGB + const DXGI_FORMAT_BC1_TYPELESS + const DXGI_FORMAT_BC1_UNORM + const DXGI_FORMAT_BC1_UNORM_SRGB + const DXGI_FORMAT_BC2_TYPELESS + const DXGI_FORMAT_BC2_UNORM + const DXGI_FORMAT_BC2_UNORM_SRGB + const DXGI_FORMAT_BC3_TYPELESS + const DXGI_FORMAT_BC3_UNORM + const DXGI_FORMAT_BC3_UNORM_SRGB + const DXGI_FORMAT_BC4_SNORM + const DXGI_FORMAT_BC4_TYPELESS + const DXGI_FORMAT_BC4_UNORM + const DXGI_FORMAT_BC5_SNORM + const DXGI_FORMAT_BC5_TYPELESS + const DXGI_FORMAT_BC5_UNORM + const DXGI_FORMAT_BC6H_SF16 + const DXGI_FORMAT_BC6H_TYPELESS + const DXGI_FORMAT_BC6H_UF16 + const DXGI_FORMAT_BC7_TYPELESS + const DXGI_FORMAT_BC7_UNORM + const DXGI_FORMAT_BC7_UNORM_SRGB + const DXGI_FORMAT_D16_UNORM + const DXGI_FORMAT_D24_UNORM_S8_UINT + const DXGI_FORMAT_D32_FLOAT + const DXGI_FORMAT_D32_FLOAT_S8X24_UINT + const DXGI_FORMAT_G8R8_G8B8_UNORM + const DXGI_FORMAT_IA44 + const DXGI_FORMAT_NV11 + const DXGI_FORMAT_NV12 + const DXGI_FORMAT_P010 + const DXGI_FORMAT_P016 + const DXGI_FORMAT_P208 + const DXGI_FORMAT_P8 + const DXGI_FORMAT_R10G10B10A2_TYPELESS + const DXGI_FORMAT_R10G10B10A2_UINT + const DXGI_FORMAT_R10G10B10A2_UNORM + const DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM + const DXGI_FORMAT_R11G11B10_FLOAT + const DXGI_FORMAT_R16G16B16A16_FLOAT + const DXGI_FORMAT_R16G16B16A16_SINT + const DXGI_FORMAT_R16G16B16A16_SNORM + const DXGI_FORMAT_R16G16B16A16_TYPELESS + const DXGI_FORMAT_R16G16B16A16_UINT + const DXGI_FORMAT_R16G16B16A16_UNORM + const DXGI_FORMAT_R16G16_FLOAT + const DXGI_FORMAT_R16G16_SINT + const DXGI_FORMAT_R16G16_SNORM + const DXGI_FORMAT_R16G16_TYPELESS + const DXGI_FORMAT_R16G16_UINT + const DXGI_FORMAT_R16G16_UNORM + const DXGI_FORMAT_R16_FLOAT + const DXGI_FORMAT_R16_SINT + const DXGI_FORMAT_R16_SNORM + const DXGI_FORMAT_R16_TYPELESS + const DXGI_FORMAT_R16_UINT + const DXGI_FORMAT_R16_UNORM + const DXGI_FORMAT_R1_UNORM + const DXGI_FORMAT_R24G8_TYPELESS + const DXGI_FORMAT_R24_UNORM_X8_TYPELESS + const DXGI_FORMAT_R32G32B32A32_FLOAT + const DXGI_FORMAT_R32G32B32A32_SINT + const DXGI_FORMAT_R32G32B32A32_TYPELESS + const DXGI_FORMAT_R32G32B32A32_UINT + const DXGI_FORMAT_R32G32B32_FLOAT + const DXGI_FORMAT_R32G32B32_SINT + const DXGI_FORMAT_R32G32B32_TYPELESS + const DXGI_FORMAT_R32G32B32_UINT + const DXGI_FORMAT_R32G32_FLOAT + const DXGI_FORMAT_R32G32_SINT + const DXGI_FORMAT_R32G32_TYPELESS + const DXGI_FORMAT_R32G32_UINT + const DXGI_FORMAT_R32G8X24_TYPELESS + const DXGI_FORMAT_R32_FLOAT + const DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS + const DXGI_FORMAT_R32_SINT + const DXGI_FORMAT_R32_TYPELESS + const DXGI_FORMAT_R32_UINT + const DXGI_FORMAT_R8G8B8A8_SINT + const DXGI_FORMAT_R8G8B8A8_SNORM + const DXGI_FORMAT_R8G8B8A8_TYPELESS + const DXGI_FORMAT_R8G8B8A8_UINT + const DXGI_FORMAT_R8G8B8A8_UNORM + const DXGI_FORMAT_R8G8B8A8_UNORM_SRGB + const DXGI_FORMAT_R8G8_B8G8_UNORM + const DXGI_FORMAT_R8G8_SINT + const DXGI_FORMAT_R8G8_SNORM + const DXGI_FORMAT_R8G8_TYPELESS + const DXGI_FORMAT_R8G8_UINT + const DXGI_FORMAT_R8G8_UNORM + const DXGI_FORMAT_R8_SINT + const DXGI_FORMAT_R8_SNORM + const DXGI_FORMAT_R8_TYPELESS + const DXGI_FORMAT_R8_UINT + const DXGI_FORMAT_R8_UNORM + const DXGI_FORMAT_R9G9B9E5_SHAREDEXP + const DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE + const DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE + const DXGI_FORMAT_UNKNOWN + const DXGI_FORMAT_V208 + const DXGI_FORMAT_V408 + const DXGI_FORMAT_X24_TYPELESS_G8_UINT + const DXGI_FORMAT_X32_TYPELESS_G8X24_UINT + const DXGI_FORMAT_Y210 + const DXGI_FORMAT_Y216 + const DXGI_FORMAT_Y410 + const DXGI_FORMAT_Y416 + const DXGI_FORMAT_YUY2 + type DXGI_FRAME_STATISTICS struct — windows/amd64 + PresentCount uint32 + PresentRefreshCount uint32 + SyncGPUTime int64 + SyncQPCTime int64 + SyncRefreshCount uint32 + type DXGI_GPU_PREFERENCE uint32 — windows/amd64 + const DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE + const DXGI_GPU_PREFERENCE_MINIMUM_POWER + const DXGI_GPU_PREFERENCE_UNSPECIFIED + type DXGI_MODE_DESC struct — windows/amd64 + Format DXGI_FORMAT + Height uint32 + RefreshRate DXGI_RATIONAL + Scaling DXGI_MODE_SCALING + ScanlineOrdering DXGI_MODE_SCANLINE_ORDER + Width uint32 + type DXGI_MODE_DESC1 struct — windows/amd64 + Format DXGI_FORMAT + Height uint32 + RefreshRate DXGI_RATIONAL + Scaling DXGI_MODE_SCALING + ScanlineOrdering DXGI_MODE_SCANLINE_ORDER + Stereo int32 + Width uint32 + type DXGI_MODE_ROTATION uint32 — windows/amd64 + const DXGI_MODE_ROTATION_IDENTITY + const DXGI_MODE_ROTATION_ROTATE180 + const DXGI_MODE_ROTATION_ROTATE270 + const DXGI_MODE_ROTATION_ROTATE90 + const DXGI_MODE_ROTATION_UNSPECIFIED + type DXGI_MODE_SCALING uint32 — windows/amd64 + const DXGI_MODE_SCALING_CENTERED + const DXGI_MODE_SCALING_STRETCHED + const DXGI_MODE_SCALING_UNSPECIFIED + type DXGI_MODE_SCANLINE_ORDER uint32 — windows/amd64 + const DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST + const DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE + const DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED + const DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST + type DXGI_MWA uint32 — windows/amd64 + const DXGI_MWA_NO_ALT_ENTER + const DXGI_MWA_NO_PRINT_SCREEN + const DXGI_MWA_NO_WINDOW_CHANGES + const DXGI_MWA_VALID + type DXGI_OUTPUT_DESC struct — windows/amd64 + AttachedToDesktop int32 + DesktopCoordinates RECT + DeviceName [32]uint16 + Monitor uintptr + Rotation DXGI_MODE_ROTATION + func (d *DXGI_OUTPUT_DESC) DeviceNameString() string + type DXGI_PRESENT uint32 — windows/amd64 + const DXGI_PRESENT_ALLOW_TEARING + const DXGI_PRESENT_DO_NOT_SEQUENCE + const DXGI_PRESENT_DO_NOT_WAIT + const DXGI_PRESENT_RESTART + const DXGI_PRESENT_RESTRICT_TO_OUTPUT + const DXGI_PRESENT_STEREO_PREFER_RIGHT + const DXGI_PRESENT_STEREO_TEMPORARY_MONO + const DXGI_PRESENT_TEST + const DXGI_PRESENT_USE_DURATION + type DXGI_PRESENT_PARAMETERS struct — windows/amd64 + DirtyRects *RECT + DirtyRectsCount uint32 + ScrollOffset *POINT + ScrollRect *RECT + type DXGI_RATIONAL struct — windows/amd64 + Denominator uint32 + Numerator uint32 + type DXGI_SAMPLE_DESC struct — windows/amd64 + Count uint32 + Quality uint32 + type DXGI_SCALING uint32 — windows/amd64 + const DXGI_SCALING_ASPECT_RATIO_STRETCH + const DXGI_SCALING_NONE + const DXGI_SCALING_STRETCH + type DXGI_SWAP_CHAIN_DESC struct — windows/amd64 + BufferCount uint32 + BufferDesc DXGI_MODE_DESC + BufferUsage DXGI_USAGE + Flags uint32 + OutputWindow uintptr + SampleDesc DXGI_SAMPLE_DESC + SwapEffect DXGI_SWAP_EFFECT + Windowed int32 + type DXGI_SWAP_CHAIN_DESC1 struct — windows/amd64 + AlphaMode DXGI_ALPHA_MODE + BufferCount uint32 + BufferUsage DXGI_USAGE + Flags uint32 + Format DXGI_FORMAT + Height uint32 + SampleDesc DXGI_SAMPLE_DESC + Scaling DXGI_SCALING + Stereo int32 + SwapEffect DXGI_SWAP_EFFECT + Width uint32 + type DXGI_SWAP_CHAIN_FLAG uint32 — windows/amd64 + const DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH + const DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING + const DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY + const DXGI_SWAP_CHAIN_FLAG_FOREGROUND_LAYER + const DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT + const DXGI_SWAP_CHAIN_FLAG_FULLSCREEN_VIDEO + const DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE + const DXGI_SWAP_CHAIN_FLAG_HW_PROTECTED + const DXGI_SWAP_CHAIN_FLAG_NONPREROTATED + const DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT + const DXGI_SWAP_CHAIN_FLAG_RESTRICTED_TO_ALL_HOLOGRAPHIC_DISPLAYS + const DXGI_SWAP_CHAIN_FLAG_RESTRICT_SHARED_RESOURCE_DRIVER + const DXGI_SWAP_CHAIN_FLAG_YUV_VIDEO + type DXGI_SWAP_CHAIN_FULLSCREEN_DESC struct — windows/amd64 + RefreshRate DXGI_RATIONAL + Scaling DXGI_MODE_SCALING + ScanlineOrdering DXGI_MODE_SCANLINE_ORDER + Windowed int32 + type DXGI_SWAP_EFFECT uint32 — windows/amd64 + const DXGI_SWAP_EFFECT_DISCARD + const DXGI_SWAP_EFFECT_FLIP_DISCARD + const DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL + const DXGI_SWAP_EFFECT_SEQUENTIAL + type DXGI_USAGE uint32 — windows/amd64 + const DXGI_USAGE_BACK_BUFFER + const DXGI_USAGE_DISCARD_ON_PRESENT + const DXGI_USAGE_READ_ONLY + const DXGI_USAGE_RENDER_TARGET_OUTPUT + const DXGI_USAGE_SHADER_INPUT + const DXGI_USAGE_SHARED + const DXGI_USAGE_UNORDERED_ACCESS + type GUID struct — windows/amd64 + Data1 uint32 + Data2 uint16 + Data3 uint16 + Data4 [8]byte + type IDXGIAdapter struct — windows/amd64 + type IDXGIAdapter1 struct — windows/amd64 + func (a *IDXGIAdapter1) CheckInterfaceSupport(interfaceName *GUID) (int64, error) + func (a *IDXGIAdapter1) EnumOutputs(index uint32) (*IDXGIOutput, error) + func (a *IDXGIAdapter1) GetDesc1() (DXGI_ADAPTER_DESC1, error) + func (a *IDXGIAdapter1) Release() uint32 + type IDXGIAdapter4 struct — windows/amd64 + func (a *IDXGIAdapter4) CheckInterfaceSupport(interfaceName *GUID) (int64, error) + func (a *IDXGIAdapter4) EnumOutputs(index uint32) (*IDXGIOutput, error) + func (a *IDXGIAdapter4) GetDesc1() (DXGI_ADAPTER_DESC1, error) + func (a *IDXGIAdapter4) GetDesc3() (DXGI_ADAPTER_DESC3, error) + func (a *IDXGIAdapter4) Release() uint32 + type IDXGIFactory struct — windows/amd64 + type IDXGIFactory1 struct — windows/amd64 + func (f *IDXGIFactory1) EnumAdapters1(index uint32) (*IDXGIAdapter1, error) + func (f *IDXGIFactory1) Release() uint32 + type IDXGIFactory2 struct — windows/amd64 + type IDXGIFactory4 struct — windows/amd64 + func (f *IDXGIFactory4) CreateSwapChainForHwnd(device unsafe.Pointer, hwnd uintptr, desc *DXGI_SWAP_CHAIN_DESC1, ...) (*IDXGISwapChain1, error) + func (f *IDXGIFactory4) EnumAdapterByLuid(luid LUID) (*IDXGIAdapter1, error) + func (f *IDXGIFactory4) EnumAdapters1(index uint32) (*IDXGIAdapter1, error) + func (f *IDXGIFactory4) EnumWarpAdapter() (*IDXGIAdapter1, error) + func (f *IDXGIFactory4) MakeWindowAssociation(hwnd uintptr, flags DXGI_MWA) error + func (f *IDXGIFactory4) Release() uint32 + type IDXGIFactory5 struct — windows/amd64 + type IDXGIFactory6 struct — windows/amd64 + func (f *IDXGIFactory6) CheckFeatureSupport(feature DXGI_FEATURE, featureData unsafe.Pointer, featureDataSize uint32) error + func (f *IDXGIFactory6) CreateSwapChainForHwnd(device unsafe.Pointer, hwnd uintptr, desc *DXGI_SWAP_CHAIN_DESC1, ...) (*IDXGISwapChain1, error) + func (f *IDXGIFactory6) EnumAdapterByGpuPreference(index uint32, preference DXGI_GPU_PREFERENCE) (*IDXGIAdapter4, error) + func (f *IDXGIFactory6) EnumAdapterByLuid(luid LUID) (*IDXGIAdapter4, error) + func (f *IDXGIFactory6) EnumAdapters1(index uint32) (*IDXGIAdapter1, error) + func (f *IDXGIFactory6) EnumWarpAdapter() (*IDXGIAdapter4, error) + func (f *IDXGIFactory6) MakeWindowAssociation(hwnd uintptr, flags DXGI_MWA) error + func (f *IDXGIFactory6) Release() uint32 + type IDXGIObject struct — windows/amd64 + type IDXGIOutput struct — windows/amd64 + func (o *IDXGIOutput) GetDesc() (DXGI_OUTPUT_DESC, error) + func (o *IDXGIOutput) Release() uint32 + func (o *IDXGIOutput) WaitForVBlank() error + type IDXGISwapChain struct — windows/amd64 + type IDXGISwapChain1 struct — windows/amd64 + func (s *IDXGISwapChain1) GetBuffer(index uint32, riid *GUID) (unsafe.Pointer, error) + func (s *IDXGISwapChain1) GetDesc1() (DXGI_SWAP_CHAIN_DESC1, error) + func (s *IDXGISwapChain1) GetFullscreenState() (bool, *IDXGIOutput, error) + func (s *IDXGISwapChain1) Present(syncInterval, flags uint32) error + func (s *IDXGISwapChain1) QueryInterface() (*IDXGISwapChain4, error) + func (s *IDXGISwapChain1) Release() uint32 + func (s *IDXGISwapChain1) ResizeBuffers(bufferCount, width, height uint32, format DXGI_FORMAT, flags uint32) error + func (s *IDXGISwapChain1) SetFullscreenState(fullscreen int32, target *IDXGIOutput) error + type IDXGISwapChain3 struct — windows/amd64 + func (s *IDXGISwapChain3) GetBuffer(index uint32, riid *GUID) (unsafe.Pointer, error) + func (s *IDXGISwapChain3) GetCurrentBackBufferIndex() uint32 + func (s *IDXGISwapChain3) GetDesc1() (DXGI_SWAP_CHAIN_DESC1, error) + func (s *IDXGISwapChain3) GetFrameLatencyWaitableObject() uintptr + func (s *IDXGISwapChain3) Present(syncInterval, flags uint32) error + func (s *IDXGISwapChain3) Release() uint32 + func (s *IDXGISwapChain3) ResizeBuffers(bufferCount, width, height uint32, format DXGI_FORMAT, flags uint32) error + func (s *IDXGISwapChain3) SetMaximumFrameLatency(maxLatency uint32) error + type IDXGISwapChain4 struct — windows/amd64 + func (s *IDXGISwapChain4) GetBuffer(index uint32, riid *GUID) (unsafe.Pointer, error) + func (s *IDXGISwapChain4) GetCurrentBackBufferIndex() uint32 + func (s *IDXGISwapChain4) GetDesc1() (DXGI_SWAP_CHAIN_DESC1, error) + func (s *IDXGISwapChain4) GetFrameLatencyWaitableObject() uintptr + func (s *IDXGISwapChain4) GetFullscreenState() (bool, *IDXGIOutput, error) + func (s *IDXGISwapChain4) Present(syncInterval, flags uint32) error + func (s *IDXGISwapChain4) Present1(syncInterval, flags uint32, params *DXGI_PRESENT_PARAMETERS) error + func (s *IDXGISwapChain4) Release() uint32 + func (s *IDXGISwapChain4) ResizeBuffers(bufferCount, width, height uint32, format DXGI_FORMAT, flags uint32) error + func (s *IDXGISwapChain4) SetFullscreenState(fullscreen int32, target *IDXGIOutput) error + func (s *IDXGISwapChain4) SetMaximumFrameLatency(maxLatency uint32) error + type LUID struct — windows/amd64 + HighPart int32 + LowPart uint32 + type POINT struct — windows/amd64 + X int32 + Y int32 + type RECT struct — windows/amd64 + Bottom int32 + Left int32 + Right int32 + Top int32