Documentation
¶
Index ¶
- Constants
- Variables
- func CreateDXGIFactory1(ppFactory **IDXGIFactory1) error
- type DXGI_ADAPTER_DESC1
- type DXGI_ADAPTER_FLAG
- type DXGI_FORMAT
- type DXGI_MAPPED_RECT
- type DXGI_MODE_DESC
- type DXGI_MODE_ROTATION
- type DXGI_OUTDUPL_DESC
- type DXGI_OUTDUPL_FRAME_INFO
- type DXGI_OUTDUPL_MOVE_RECT
- type DXGI_OUTDUPL_POINTER_POSITION
- type DXGI_OUTDUPL_POINTER_SHAPE_INFO
- type DXGI_OUTDUPL_POINTER_SHAPE_TYPE
- type DXGI_OUTPUT_DESC
- type DXGI_RATIONAL
- type DXGI_SAMPLE_DESC
- type IDXGIAdapter
- type IDXGIAdapter1
- type IDXGIAdapter1Vtbl
- type IDXGIAdapterVtbl
- type IDXGIDevice
- func (obj *IDXGIDevice) GetAdapter(pAdapter **IDXGIAdapter) int32
- func (obj *IDXGIDevice) GetGPUThreadPriority(priority *int) int32
- func (obj *IDXGIDevice) GetParent(iid windows.GUID, pp *unsafe.Pointer) int32
- func (obj *IDXGIDevice) QueryInterface(iid windows.GUID, pp interface{}) int32
- func (obj *IDXGIDevice) Release() int32
- type IDXGIDevice1
- type IDXGIDevice1Vtbl
- type IDXGIDeviceSubObjectVtbl
- type IDXGIDeviceVtbl
- type IDXGIFactory1
- type IDXGIFactory1Vtbl
- type IDXGIFactoryVtbl
- type IDXGIObjectVtbl
- type IDXGIOutput
- type IDXGIOutput1
- type IDXGIOutput1Vtbl
- type IDXGIOutput2Vtbl
- type IDXGIOutput3Vtbl
- type IDXGIOutput4Vtbl
- type IDXGIOutput5
- func (obj *IDXGIOutput5) DuplicateOutput1(device1 *IDXGIDevice1, flags uint32, pSupportedFormats []DXGI_FORMAT, ...) int32
- func (obj *IDXGIOutput5) GetDesc(desc *DXGI_OUTPUT_DESC) int32
- func (obj *IDXGIOutput5) GetParent(iid windows.GUID, pp *unsafe.Pointer) int32
- func (obj *IDXGIOutput5) Release() int32
- type IDXGIOutput5Vtbl
- type IDXGIOutputDuplication
- func (obj *IDXGIOutputDuplication) AcquireNextFrame(timeoutMs uint32, pFrameInfo *DXGI_OUTDUPL_FRAME_INFO, ...) uint32
- func (obj *IDXGIOutputDuplication) AddRef() uint32
- func (obj *IDXGIOutputDuplication) GetDesc(desc *DXGI_OUTDUPL_DESC) int32
- func (obj *IDXGIOutputDuplication) GetFrameDirtyRects(buffer []RECT, rectsRequired *uint32) int32
- func (obj *IDXGIOutputDuplication) GetFrameMoveRects(buffer []DXGI_OUTDUPL_MOVE_RECT, rectsRequired *uint32) int32
- func (obj *IDXGIOutputDuplication) GetFramePointerShape(pointerShapeBufferSize uint32, pPointerShapeBuffer []byte, ...) int32
- func (obj *IDXGIOutputDuplication) MapDesktopSurface(pLockedRect *DXGI_MAPPED_RECT) int32
- func (obj *IDXGIOutputDuplication) Release() uint32
- func (obj *IDXGIOutputDuplication) ReleaseFrame() uint32
- func (obj *IDXGIOutputDuplication) UnMapDesktopSurface() int32
- type IDXGIOutputDuplicationVtbl
- type IDXGIOutputVtbl
- type IDXGIResource
- type IDXGIResourceVtbl
- type IDXGISurface
- type IDXGISurfaceVtbl
- type LONG
- type LUID
- type POINT
- type RECT
- type SIZE_T
- type UINT
- type ULONG
Constants ¶
View Source
const ( DXGI_MAP_READ = 1 << 0 DXGI_MAP_WRITE = 1 << 1 DXGI_MAP_DISCARD = 1 << 2 )
Variables ¶
View Source
var (
// iid_IDXGIDevice, _ = windows.GUIDFromString("{54ec77fa-1377-44e6-8c32-88fd5f44c84c}")
IID_IDXGIDevice1, _ = windows.GUIDFromString("{77db970f-6276-48ba-ba28-070143b4392c}")
// IID_IDXGIAdapter, _ = windows.GUIDFromString("{2411E7E1-12AC-4CCF-BD14-9798E8534DC0}")
IID_IDXGIAdapter1, _ = windows.GUIDFromString("{29038f61-3839-4626-91fd-086879011a05}")
// IID_IDXGIOutput, _ = windows.GUIDFromString("{ae02eedb-c735-4690-8d52-5a8dc20213aa}")
IID_IDXGIOutput1, _ = windows.GUIDFromString("{00cddea8-939b-4b83-a340-a685226666cc}")
IID_IDXGIOutput5, _ = windows.GUIDFromString("{80A07424-AB52-42EB-833C-0C42FD282D98}")
IID_IDXGIFactory1, _ = windows.GUIDFromString("{770aae78-f26f-4dba-a829-253c83d1b387}")
// IID_IDXGIResource, _ = windows.GUIDFromString("{035f3ab4-482e-4e50-b41f-8a7f8bd8960b}")
IID_IDXGISurface, _ = windows.GUIDFromString("{cafcb56c-6ac3-4889-bf47-9e23bbd260ec}")
)
Functions ¶
func CreateDXGIFactory1 ¶
func CreateDXGIFactory1(ppFactory **IDXGIFactory1) error
Types ¶
type DXGI_ADAPTER_DESC1 ¶ added in v1.0.1
type DXGI_ADAPTER_DESC1 struct { Description [128]uint16 VendorId UINT DeviceId UINT SubSysId UINT Revision UINT DedicatedVideoMemory SIZE_T DedicatedSystemMemory SIZE_T AdapterLuid LUID Flags DXGI_ADAPTER_FLAG // contains filtered or unexported fields }
func (*DXGI_ADAPTER_DESC1) DescriptionString ¶ added in v1.0.1
func (d *DXGI_ADAPTER_DESC1) DescriptionString() string
type DXGI_ADAPTER_FLAG ¶ added in v1.0.1
type DXGI_ADAPTER_FLAG uint32
const ( DXGI_ADAPTER_FLAG_NONE DXGI_ADAPTER_FLAG = 0 DXGI_ADAPTER_FLAG_REMOTE DXGI_ADAPTER_FLAG = 1 DXGI_ADAPTER_FLAG_SOFTWARE DXGI_ADAPTER_FLAG = 2 )
func (DXGI_ADAPTER_FLAG) String ¶ added in v1.0.1
func (i DXGI_ADAPTER_FLAG) String() string
type DXGI_FORMAT ¶
type DXGI_FORMAT uint32
const ( DXGI_FORMAT_UNKNOWN DXGI_FORMAT = 0 DXGI_FORMAT_R32G32B32A32_TYPELESS DXGI_FORMAT = 1 DXGI_FORMAT_R32G32B32A32_FLOAT DXGI_FORMAT = 2 DXGI_FORMAT_R32G32B32A32_UINT DXGI_FORMAT = 3 DXGI_FORMAT_R32G32B32A32_SINT DXGI_FORMAT = 4 DXGI_FORMAT_R32G32B32_TYPELESS DXGI_FORMAT = 5 DXGI_FORMAT_R32G32B32_FLOAT DXGI_FORMAT = 6 DXGI_FORMAT_R32G32B32_UINT DXGI_FORMAT = 7 DXGI_FORMAT_R32G32B32_SINT DXGI_FORMAT = 8 DXGI_FORMAT_R16G16B16A16_TYPELESS DXGI_FORMAT = 9 DXGI_FORMAT_R16G16B16A16_FLOAT DXGI_FORMAT = 10 DXGI_FORMAT_R16G16B16A16_UNORM DXGI_FORMAT = 11 DXGI_FORMAT_R16G16B16A16_UINT DXGI_FORMAT = 12 DXGI_FORMAT_R16G16B16A16_SNORM DXGI_FORMAT = 13 DXGI_FORMAT_R16G16B16A16_SINT DXGI_FORMAT = 14 DXGI_FORMAT_R32G32_TYPELESS DXGI_FORMAT = 15 DXGI_FORMAT_R32G32_FLOAT DXGI_FORMAT = 16 DXGI_FORMAT_R32G32_UINT DXGI_FORMAT = 17 DXGI_FORMAT_R32G32_SINT DXGI_FORMAT = 18 DXGI_FORMAT_R32G8X24_TYPELESS DXGI_FORMAT = 19 DXGI_FORMAT_D32_FLOAT_S8X24_UINT DXGI_FORMAT = 20 DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS DXGI_FORMAT = 21 DXGI_FORMAT_X32_TYPELESS_G8X24_UINT DXGI_FORMAT = 22 DXGI_FORMAT_R10G10B10A2_TYPELESS DXGI_FORMAT = 23 DXGI_FORMAT_R10G10B10A2_UNORM DXGI_FORMAT = 24 DXGI_FORMAT_R10G10B10A2_UINT DXGI_FORMAT = 25 DXGI_FORMAT_R11G11B10_FLOAT DXGI_FORMAT = 26 DXGI_FORMAT_R8G8B8A8_TYPELESS DXGI_FORMAT = 27 DXGI_FORMAT_R8G8B8A8_UNORM DXGI_FORMAT = 28 DXGI_FORMAT_R8G8B8A8_UNORM_SRGB DXGI_FORMAT = 29 DXGI_FORMAT_R8G8B8A8_UINT DXGI_FORMAT = 30 DXGI_FORMAT_R8G8B8A8_SNORM DXGI_FORMAT = 31 DXGI_FORMAT_R8G8B8A8_SINT DXGI_FORMAT = 32 DXGI_FORMAT_R16G16_TYPELESS DXGI_FORMAT = 33 DXGI_FORMAT_R16G16_FLOAT DXGI_FORMAT = 34 DXGI_FORMAT_R16G16_UNORM DXGI_FORMAT = 35 DXGI_FORMAT_R16G16_UINT DXGI_FORMAT = 36 DXGI_FORMAT_R16G16_SNORM DXGI_FORMAT = 37 DXGI_FORMAT_R16G16_SINT DXGI_FORMAT = 38 DXGI_FORMAT_R32_TYPELESS DXGI_FORMAT = 39 DXGI_FORMAT_D32_FLOAT DXGI_FORMAT = 40 DXGI_FORMAT_R32_FLOAT DXGI_FORMAT = 41 DXGI_FORMAT_R32_UINT DXGI_FORMAT = 42 DXGI_FORMAT_R32_SINT DXGI_FORMAT = 43 DXGI_FORMAT_R24G8_TYPELESS DXGI_FORMAT = 44 DXGI_FORMAT_D24_UNORM_S8_UINT DXGI_FORMAT = 45 DXGI_FORMAT_R24_UNORM_X8_TYPELESS DXGI_FORMAT = 46 DXGI_FORMAT_X24_TYPELESS_G8_UINT DXGI_FORMAT = 47 DXGI_FORMAT_R8G8_TYPELESS DXGI_FORMAT = 48 DXGI_FORMAT_R8G8_UNORM DXGI_FORMAT = 49 DXGI_FORMAT_R8G8_UINT DXGI_FORMAT = 50 DXGI_FORMAT_R8G8_SNORM DXGI_FORMAT = 51 DXGI_FORMAT_R8G8_SINT DXGI_FORMAT = 52 DXGI_FORMAT_R16_TYPELESS DXGI_FORMAT = 53 DXGI_FORMAT_R16_FLOAT DXGI_FORMAT = 54 DXGI_FORMAT_D16_UNORM DXGI_FORMAT = 55 DXGI_FORMAT_R16_UNORM DXGI_FORMAT = 56 DXGI_FORMAT_R16_UINT DXGI_FORMAT = 57 DXGI_FORMAT_R16_SNORM DXGI_FORMAT = 58 DXGI_FORMAT_R16_SINT DXGI_FORMAT = 59 DXGI_FORMAT_R8_TYPELESS DXGI_FORMAT = 60 DXGI_FORMAT_R8_UNORM DXGI_FORMAT = 61 DXGI_FORMAT_R8_UINT DXGI_FORMAT = 62 DXGI_FORMAT_R8_SNORM DXGI_FORMAT = 63 DXGI_FORMAT_R8_SINT DXGI_FORMAT = 64 DXGI_FORMAT_A8_UNORM DXGI_FORMAT = 65 DXGI_FORMAT_R1_UNORM DXGI_FORMAT = 66 DXGI_FORMAT_R9G9B9E5_SHAREDEXP DXGI_FORMAT = 67 DXGI_FORMAT_R8G8_B8G8_UNORM DXGI_FORMAT = 68 DXGI_FORMAT_G8R8_G8B8_UNORM DXGI_FORMAT = 69 DXGI_FORMAT_BC1_TYPELESS DXGI_FORMAT = 70 DXGI_FORMAT_BC1_UNORM DXGI_FORMAT = 71 DXGI_FORMAT_BC1_UNORM_SRGB DXGI_FORMAT = 72 DXGI_FORMAT_BC2_TYPELESS DXGI_FORMAT = 73 DXGI_FORMAT_BC2_UNORM DXGI_FORMAT = 74 DXGI_FORMAT_BC2_UNORM_SRGB DXGI_FORMAT = 75 DXGI_FORMAT_BC3_TYPELESS DXGI_FORMAT = 76 DXGI_FORMAT_BC3_UNORM DXGI_FORMAT = 77 DXGI_FORMAT_BC3_UNORM_SRGB DXGI_FORMAT = 78 DXGI_FORMAT_BC4_TYPELESS DXGI_FORMAT = 79 DXGI_FORMAT_BC4_UNORM DXGI_FORMAT = 80 DXGI_FORMAT_BC4_SNORM DXGI_FORMAT = 81 DXGI_FORMAT_BC5_TYPELESS DXGI_FORMAT = 82 DXGI_FORMAT_BC5_UNORM DXGI_FORMAT = 83 DXGI_FORMAT_BC5_SNORM DXGI_FORMAT = 84 DXGI_FORMAT_B5G6R5_UNORM DXGI_FORMAT = 85 DXGI_FORMAT_B5G5R5A1_UNORM DXGI_FORMAT = 86 DXGI_FORMAT_B8G8R8A8_UNORM DXGI_FORMAT = 87 DXGI_FORMAT_B8G8R8X8_UNORM DXGI_FORMAT = 88 DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM DXGI_FORMAT = 89 DXGI_FORMAT_B8G8R8A8_TYPELESS DXGI_FORMAT = 90 DXGI_FORMAT_B8G8R8A8_UNORM_SRGB DXGI_FORMAT = 91 DXGI_FORMAT_B8G8R8X8_TYPELESS DXGI_FORMAT = 92 DXGI_FORMAT_B8G8R8X8_UNORM_SRGB DXGI_FORMAT = 93 DXGI_FORMAT_BC6H_TYPELESS DXGI_FORMAT = 94 DXGI_FORMAT_BC6H_UF16 DXGI_FORMAT = 95 DXGI_FORMAT_BC6H_SF16 DXGI_FORMAT = 96 DXGI_FORMAT_BC7_TYPELESS DXGI_FORMAT = 97 DXGI_FORMAT_BC7_UNORM DXGI_FORMAT = 98 DXGI_FORMAT_BC7_UNORM_SRGB DXGI_FORMAT = 99 DXGI_FORMAT_AYUV DXGI_FORMAT = 100 DXGI_FORMAT_Y410 DXGI_FORMAT = 101 DXGI_FORMAT_Y416 DXGI_FORMAT = 102 DXGI_FORMAT_NV12 DXGI_FORMAT = 103 DXGI_FORMAT_P010 DXGI_FORMAT = 104 DXGI_FORMAT_P016 DXGI_FORMAT = 105 DXGI_FORMAT_420_OPAQUE DXGI_FORMAT = 106 DXGI_FORMAT_YUY2 DXGI_FORMAT = 107 DXGI_FORMAT_Y210 DXGI_FORMAT = 108 DXGI_FORMAT_Y216 DXGI_FORMAT = 109 DXGI_FORMAT_NV11 DXGI_FORMAT = 110 DXGI_FORMAT_AI44 DXGI_FORMAT = 111 DXGI_FORMAT_IA44 DXGI_FORMAT = 112 DXGI_FORMAT_P8 DXGI_FORMAT = 113 DXGI_FORMAT_A8P8 DXGI_FORMAT = 114 DXGI_FORMAT_B4G4R4A4_UNORM DXGI_FORMAT = 115 DXGI_FORMAT_P208 DXGI_FORMAT = 130 DXGI_FORMAT_V208 DXGI_FORMAT = 131 DXGI_FORMAT_V408 DXGI_FORMAT = 132 DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE DXGI_FORMAT = 189 DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE DXGI_FORMAT = 190 )
func (DXGI_FORMAT) String ¶ added in v1.0.1
func (i DXGI_FORMAT) String() string
type DXGI_MAPPED_RECT ¶
type DXGI_MODE_DESC ¶
type DXGI_MODE_ROTATION ¶ added in v1.0.1
type DXGI_MODE_ROTATION uint32
type DXGI_OUTDUPL_DESC ¶
type DXGI_OUTDUPL_DESC struct { ModeDesc DXGI_MODE_DESC Rotation uint32 // DXGI_MODE_ROTATION DesktopImageInSystemMemory uint32 // BOOL // contains filtered or unexported fields }
type DXGI_OUTDUPL_FRAME_INFO ¶
type DXGI_OUTDUPL_FRAME_INFO struct { LastPresentTime int64 LastMouseUpdateTime int64 AccumulatedFrames uint32 RectsCoalesced uint32 ProtectedContentMaskedOut uint32 PointerPosition DXGI_OUTDUPL_POINTER_POSITION TotalMetadataBufferSize uint32 PointerShapeBufferSize uint32 // contains filtered or unexported fields }
type DXGI_OUTDUPL_MOVE_RECT ¶
type DXGI_OUTDUPL_POINTER_SHAPE_INFO ¶
type DXGI_OUTDUPL_POINTER_SHAPE_INFO struct { Type DXGI_OUTDUPL_POINTER_SHAPE_TYPE Width uint32 Height uint32 Pitch uint32 HotSpot POINT // contains filtered or unexported fields }
type DXGI_OUTDUPL_POINTER_SHAPE_TYPE ¶
type DXGI_OUTDUPL_POINTER_SHAPE_TYPE uint32
const ( DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME DXGI_OUTDUPL_POINTER_SHAPE_TYPE = 1 DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR DXGI_OUTDUPL_POINTER_SHAPE_TYPE = 2 DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR DXGI_OUTDUPL_POINTER_SHAPE_TYPE = 4 )
func (DXGI_OUTDUPL_POINTER_SHAPE_TYPE) String ¶
func (i DXGI_OUTDUPL_POINTER_SHAPE_TYPE) String() string
type DXGI_OUTPUT_DESC ¶ added in v1.0.1
type DXGI_OUTPUT_DESC struct { DeviceName [32]uint16 DesktopCoordinates RECT AttachedToDesktop uint32 // BOOL Rotation DXGI_MODE_ROTATION Monitor uintptr // contains filtered or unexported fields }
type DXGI_RATIONAL ¶
type DXGI_SAMPLE_DESC ¶
type IDXGIAdapter ¶
type IDXGIAdapter struct {
// contains filtered or unexported fields
}
func (*IDXGIAdapter) EnumOutputs ¶
func (obj *IDXGIAdapter) EnumOutputs(output uint32, pp **IDXGIOutput) uint32
func (*IDXGIAdapter) Release ¶
func (obj *IDXGIAdapter) Release() int32
type IDXGIAdapter1 ¶
type IDXGIAdapter1 struct {
// contains filtered or unexported fields
}
func (*IDXGIAdapter1) EnumOutputs ¶
func (obj *IDXGIAdapter1) EnumOutputs(output uint32, pp **IDXGIOutput) uint32
func (*IDXGIAdapter1) GetDesc1 ¶ added in v1.0.1
func (obj *IDXGIAdapter1) GetDesc1(p *DXGI_ADAPTER_DESC1) uint32
func (*IDXGIAdapter1) Release ¶
func (obj *IDXGIAdapter1) Release() int32
type IDXGIAdapter1Vtbl ¶
type IDXGIAdapter1Vtbl struct { IDXGIAdapterVtbl GetDesc1 uintptr // contains filtered or unexported fields }
type IDXGIAdapterVtbl ¶
type IDXGIAdapterVtbl struct { IDXGIObjectVtbl EnumOutputs uintptr GetDesc uintptr CheckInterfaceSupport uintptr // contains filtered or unexported fields }
type IDXGIDevice ¶
type IDXGIDevice struct {
// contains filtered or unexported fields
}
func (*IDXGIDevice) GetAdapter ¶
func (obj *IDXGIDevice) GetAdapter(pAdapter **IDXGIAdapter) int32
func (*IDXGIDevice) GetGPUThreadPriority ¶
func (obj *IDXGIDevice) GetGPUThreadPriority(priority *int) int32
func (*IDXGIDevice) QueryInterface ¶
func (obj *IDXGIDevice) QueryInterface(iid windows.GUID, pp interface{}) int32
func (*IDXGIDevice) Release ¶
func (obj *IDXGIDevice) Release() int32
type IDXGIDevice1 ¶
type IDXGIDevice1 struct {
// contains filtered or unexported fields
}
func (*IDXGIDevice1) GetAdapter ¶
func (obj *IDXGIDevice1) GetAdapter(pAdapter *IDXGIAdapter) int32
func (*IDXGIDevice1) QueryInterface ¶
func (obj *IDXGIDevice1) QueryInterface(iid windows.GUID, pp interface{}) int32
func (*IDXGIDevice1) Release ¶
func (obj *IDXGIDevice1) Release() int32
type IDXGIDevice1Vtbl ¶
type IDXGIDevice1Vtbl struct { IDXGIDeviceVtbl GetMaximumFrameLatency uintptr SetMaximumFrameLatency uintptr // contains filtered or unexported fields }
type IDXGIDeviceSubObjectVtbl ¶
type IDXGIDeviceSubObjectVtbl struct { IDXGIObjectVtbl GetDevice uintptr // contains filtered or unexported fields }
type IDXGIDeviceVtbl ¶
type IDXGIFactory1 ¶
type IDXGIFactory1 struct {
// contains filtered or unexported fields
}
func (*IDXGIFactory1) EnumAdapters1 ¶
func (obj *IDXGIFactory1) EnumAdapters1(adapter uint32, pp **IDXGIAdapter1) int32
func (*IDXGIFactory1) Release ¶
func (obj *IDXGIFactory1) Release() int32
type IDXGIFactory1Vtbl ¶
type IDXGIFactory1Vtbl struct { IDXGIFactoryVtbl EnumAdapters1 uintptr IsCurrent uintptr // contains filtered or unexported fields }
type IDXGIFactoryVtbl ¶
type IDXGIObjectVtbl ¶
type IDXGIOutput ¶
type IDXGIOutput struct {
// contains filtered or unexported fields
}
func (*IDXGIOutput) QueryInterface ¶
func (obj *IDXGIOutput) QueryInterface(iid windows.GUID, pp interface{}) int32
func (*IDXGIOutput) Release ¶
func (obj *IDXGIOutput) Release() int32
type IDXGIOutput1 ¶
type IDXGIOutput1 struct {
// contains filtered or unexported fields
}
func (*IDXGIOutput1) DuplicateOutput ¶
func (obj *IDXGIOutput1) DuplicateOutput(device1 *IDXGIDevice1, ppOutputDuplication **IDXGIOutputDuplication) int32
func (*IDXGIOutput1) Release ¶
func (obj *IDXGIOutput1) Release() int32
type IDXGIOutput1Vtbl ¶
type IDXGIOutput1Vtbl struct { IDXGIOutputVtbl GetDisplayModeList1 uintptr FindClosestMatchingMode1 uintptr GetDisplaySurfaceData1 uintptr DuplicateOutput uintptr // contains filtered or unexported fields }
type IDXGIOutput2Vtbl ¶
type IDXGIOutput2Vtbl struct { IDXGIOutput1Vtbl SupportsOverlays uintptr // contains filtered or unexported fields }
type IDXGIOutput3Vtbl ¶
type IDXGIOutput3Vtbl struct { IDXGIOutput2Vtbl CheckOverlaySupport uintptr // contains filtered or unexported fields }
type IDXGIOutput4Vtbl ¶
type IDXGIOutput4Vtbl struct { IDXGIOutput3Vtbl CheckOverlayColorSpaceSupport uintptr // contains filtered or unexported fields }
type IDXGIOutput5 ¶
type IDXGIOutput5 struct {
// contains filtered or unexported fields
}
func (*IDXGIOutput5) DuplicateOutput1 ¶
func (obj *IDXGIOutput5) DuplicateOutput1(device1 *IDXGIDevice1, flags uint32, pSupportedFormats []DXGI_FORMAT, ppOutputDuplication **IDXGIOutputDuplication) int32
func (*IDXGIOutput5) GetDesc ¶ added in v1.0.1
func (obj *IDXGIOutput5) GetDesc(desc *DXGI_OUTPUT_DESC) int32
func (*IDXGIOutput5) Release ¶
func (obj *IDXGIOutput5) Release() int32
type IDXGIOutput5Vtbl ¶
type IDXGIOutput5Vtbl struct { IDXGIOutput4Vtbl DuplicateOutput1 uintptr // contains filtered or unexported fields }
type IDXGIOutputDuplication ¶
type IDXGIOutputDuplication struct {
// contains filtered or unexported fields
}
func (*IDXGIOutputDuplication) AcquireNextFrame ¶
func (obj *IDXGIOutputDuplication) AcquireNextFrame(timeoutMs uint32, pFrameInfo *DXGI_OUTDUPL_FRAME_INFO, ppDesktopResource **IDXGIResource) uint32
func (*IDXGIOutputDuplication) AddRef ¶
func (obj *IDXGIOutputDuplication) AddRef() uint32
func (*IDXGIOutputDuplication) GetDesc ¶
func (obj *IDXGIOutputDuplication) GetDesc(desc *DXGI_OUTDUPL_DESC) int32
func (*IDXGIOutputDuplication) GetFrameDirtyRects ¶
func (obj *IDXGIOutputDuplication) GetFrameDirtyRects(buffer []RECT, rectsRequired *uint32) int32
func (*IDXGIOutputDuplication) GetFrameMoveRects ¶
func (obj *IDXGIOutputDuplication) GetFrameMoveRects(buffer []DXGI_OUTDUPL_MOVE_RECT, rectsRequired *uint32) int32
func (*IDXGIOutputDuplication) GetFramePointerShape ¶
func (obj *IDXGIOutputDuplication) GetFramePointerShape(pointerShapeBufferSize uint32, pPointerShapeBuffer []byte, pPointerShapeBufferSizeRequired *uint32, pPointerShapeInfo *DXGI_OUTDUPL_POINTER_SHAPE_INFO) int32
func (*IDXGIOutputDuplication) MapDesktopSurface ¶
func (obj *IDXGIOutputDuplication) MapDesktopSurface(pLockedRect *DXGI_MAPPED_RECT) int32
func (*IDXGIOutputDuplication) Release ¶
func (obj *IDXGIOutputDuplication) Release() uint32
func (*IDXGIOutputDuplication) ReleaseFrame ¶
func (obj *IDXGIOutputDuplication) ReleaseFrame() uint32
func (*IDXGIOutputDuplication) UnMapDesktopSurface ¶
func (obj *IDXGIOutputDuplication) UnMapDesktopSurface() int32
type IDXGIOutputVtbl ¶
type IDXGIOutputVtbl struct { IDXGIObjectVtbl GetDesc uintptr GetDisplayModeList uintptr FindClosestMatchingMode uintptr WaitForVBlank uintptr TakeOwnership uintptr ReleaseOwnership uintptr GetGammaControlCapabilities uintptr SetGammaControl uintptr GetGammaControl uintptr SetDisplaySurface uintptr GetDisplaySurfaceData uintptr GetFrameStatistics uintptr // contains filtered or unexported fields }
type IDXGIResource ¶
type IDXGIResource struct {
// contains filtered or unexported fields
}
func (*IDXGIResource) QueryInterface ¶
func (obj *IDXGIResource) QueryInterface(iid windows.GUID, pp interface{}) int32
func (*IDXGIResource) Release ¶
func (obj *IDXGIResource) Release() int32
type IDXGIResourceVtbl ¶
type IDXGIResourceVtbl struct { IDXGIDeviceSubObjectVtbl GetUsage uintptr SetEvictionPriority uintptr GetEvictionPriority uintptr // contains filtered or unexported fields }
type IDXGISurface ¶
type IDXGISurface struct {
// contains filtered or unexported fields
}
func (*IDXGISurface) Map ¶
func (obj *IDXGISurface) Map(pLockedRect *DXGI_MAPPED_RECT, mapFlags uint32) int32
func (*IDXGISurface) QueryInterface ¶
func (obj *IDXGISurface) QueryInterface(iid windows.GUID, pp interface{}) int32
func (*IDXGISurface) Release ¶
func (obj *IDXGISurface) Release() int32
func (*IDXGISurface) Unmap ¶
func (obj *IDXGISurface) Unmap() int32
type IDXGISurfaceVtbl ¶
type IDXGISurfaceVtbl struct { IDXGIDeviceSubObjectVtbl GetDesc uintptr Map uintptr Unmap uintptr // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.