[−][src]Struct winapi::um::d3d12::ID3D12Device
Fields
lpVtbl: *const ID3D12DeviceVtbl
Implementations
impl ID3D12Device
[src]
pub unsafe fn GetNodeCount(&self) -> UINT
[src]
pub unsafe fn CreateCommandQueue(
&self,
pDesc: *const D3D12_COMMAND_QUEUE_DESC,
riid: REFGUID,
ppCommandQueue: *mut *mut c_void
) -> HRESULT
[src]
&self,
pDesc: *const D3D12_COMMAND_QUEUE_DESC,
riid: REFGUID,
ppCommandQueue: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreateCommandAllocator(
&self,
type_: D3D12_COMMAND_LIST_TYPE,
riid: REFGUID,
ppCommandAllocator: *mut *mut c_void
) -> HRESULT
[src]
&self,
type_: D3D12_COMMAND_LIST_TYPE,
riid: REFGUID,
ppCommandAllocator: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreateGraphicsPipelineState(
&self,
pDesc: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC,
riid: REFGUID,
ppPipelineState: *mut *mut c_void
) -> HRESULT
[src]
&self,
pDesc: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC,
riid: REFGUID,
ppPipelineState: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreateComputePipelineState(
&self,
pDesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC,
riid: REFGUID,
ppPipelineState: *mut *mut c_void
) -> HRESULT
[src]
&self,
pDesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC,
riid: REFGUID,
ppPipelineState: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreateCommandList(
&self,
nodeMask: UINT,
type_: D3D12_COMMAND_LIST_TYPE,
pCommandAllocator: *mut ID3D12CommandAllocator,
pInitialState: *mut ID3D12PipelineState,
riid: REFGUID,
ppCommandList: *mut *mut c_void
) -> HRESULT
[src]
&self,
nodeMask: UINT,
type_: D3D12_COMMAND_LIST_TYPE,
pCommandAllocator: *mut ID3D12CommandAllocator,
pInitialState: *mut ID3D12PipelineState,
riid: REFGUID,
ppCommandList: *mut *mut c_void
) -> HRESULT
pub unsafe fn CheckFeatureSupport(
&self,
Feature: D3D12_FEATURE,
pFeatureSupportData: *mut c_void,
FeatureSupportDataSize: UINT
) -> HRESULT
[src]
&self,
Feature: D3D12_FEATURE,
pFeatureSupportData: *mut c_void,
FeatureSupportDataSize: UINT
) -> HRESULT
pub unsafe fn CreateDescriptorHeap(
&self,
pDescriptorHeapDesc: *const D3D12_DESCRIPTOR_HEAP_DESC,
riid: REFGUID,
ppvHeap: *mut *mut c_void
) -> HRESULT
[src]
&self,
pDescriptorHeapDesc: *const D3D12_DESCRIPTOR_HEAP_DESC,
riid: REFGUID,
ppvHeap: *mut *mut c_void
) -> HRESULT
pub unsafe fn GetDescriptorHandleIncrementSize(
&self,
DescriptorHeapType: D3D12_DESCRIPTOR_HEAP_TYPE
) -> UINT
[src]
&self,
DescriptorHeapType: D3D12_DESCRIPTOR_HEAP_TYPE
) -> UINT
pub unsafe fn CreateRootSignature(
&self,
nodeMask: UINT,
pBlobWithRootSignature: *const c_void,
blobLengthInBytes: SIZE_T,
riid: REFGUID,
ppvRootSignature: *mut *mut c_void
) -> HRESULT
[src]
&self,
nodeMask: UINT,
pBlobWithRootSignature: *const c_void,
blobLengthInBytes: SIZE_T,
riid: REFGUID,
ppvRootSignature: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreateConstantBufferView(
&self,
pDesc: *const D3D12_CONSTANT_BUFFER_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
[src]
&self,
pDesc: *const D3D12_CONSTANT_BUFFER_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
pub unsafe fn CreateShaderResourceView(
&self,
pResource: *mut ID3D12Resource,
pDesc: *const D3D12_SHADER_RESOURCE_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
[src]
&self,
pResource: *mut ID3D12Resource,
pDesc: *const D3D12_SHADER_RESOURCE_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
pub unsafe fn CreateUnorderedAccessView(
&self,
pResource: *mut ID3D12Resource,
pCounterResource: *mut ID3D12Resource,
pDesc: *const D3D12_UNORDERED_ACCESS_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
[src]
&self,
pResource: *mut ID3D12Resource,
pCounterResource: *mut ID3D12Resource,
pDesc: *const D3D12_UNORDERED_ACCESS_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
pub unsafe fn CreateRenderTargetView(
&self,
pResource: *mut ID3D12Resource,
pDesc: *const D3D12_RENDER_TARGET_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
[src]
&self,
pResource: *mut ID3D12Resource,
pDesc: *const D3D12_RENDER_TARGET_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
pub unsafe fn CreateDepthStencilView(
&self,
pResource: *mut ID3D12Resource,
pDesc: *const D3D12_DEPTH_STENCIL_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
[src]
&self,
pResource: *mut ID3D12Resource,
pDesc: *const D3D12_DEPTH_STENCIL_VIEW_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
pub unsafe fn CreateSampler(
&self,
pDesc: *const D3D12_SAMPLER_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
[src]
&self,
pDesc: *const D3D12_SAMPLER_DESC,
DestDescriptor: D3D12_CPU_DESCRIPTOR_HANDLE
)
pub unsafe fn CopyDescriptors(
&self,
NumDestDescriptorRanges: UINT,
pDestDescriptorRangeStarts: *const D3D12_CPU_DESCRIPTOR_HANDLE,
pDestDescriptorRangeSizes: *const UINT,
NumSrcDescriptorRanges: UINT,
pSrcDescriptorRangeStarts: *const D3D12_CPU_DESCRIPTOR_HANDLE,
pSrcDescriptorRangeSizes: *const UINT,
DescriptorHeapsType: D3D12_DESCRIPTOR_HEAP_TYPE
)
[src]
&self,
NumDestDescriptorRanges: UINT,
pDestDescriptorRangeStarts: *const D3D12_CPU_DESCRIPTOR_HANDLE,
pDestDescriptorRangeSizes: *const UINT,
NumSrcDescriptorRanges: UINT,
pSrcDescriptorRangeStarts: *const D3D12_CPU_DESCRIPTOR_HANDLE,
pSrcDescriptorRangeSizes: *const UINT,
DescriptorHeapsType: D3D12_DESCRIPTOR_HEAP_TYPE
)
pub unsafe fn CopyDescriptorsSimple(
&self,
NumDescriptors: UINT,
DestDescriptorRangeStart: D3D12_CPU_DESCRIPTOR_HANDLE,
SrcDescriptorRangeStart: D3D12_CPU_DESCRIPTOR_HANDLE,
DescriptorHeapsType: D3D12_DESCRIPTOR_HEAP_TYPE
)
[src]
&self,
NumDescriptors: UINT,
DestDescriptorRangeStart: D3D12_CPU_DESCRIPTOR_HANDLE,
SrcDescriptorRangeStart: D3D12_CPU_DESCRIPTOR_HANDLE,
DescriptorHeapsType: D3D12_DESCRIPTOR_HEAP_TYPE
)
pub unsafe fn GetResourceAllocationInfo(
&self,
visibleMask: UINT,
numResourceDescs: UINT,
pResourceDescs: *const D3D12_RESOURCE_DESC
) -> D3D12_RESOURCE_ALLOCATION_INFO
[src]
&self,
visibleMask: UINT,
numResourceDescs: UINT,
pResourceDescs: *const D3D12_RESOURCE_DESC
) -> D3D12_RESOURCE_ALLOCATION_INFO
pub unsafe fn GetCustomHeapProperties(
&self,
nodeMask: UINT,
heapType: D3D12_HEAP_TYPE
) -> D3D12_HEAP_PROPERTIES
[src]
&self,
nodeMask: UINT,
heapType: D3D12_HEAP_TYPE
) -> D3D12_HEAP_PROPERTIES
pub unsafe fn CreateCommittedResource(
&self,
pHeapProperties: *const D3D12_HEAP_PROPERTIES,
HeapFlags: D3D12_HEAP_FLAGS,
pResourceDesc: *const D3D12_RESOURCE_DESC,
InitialResourceState: D3D12_RESOURCE_STATES,
pOptimizedClearValue: *const D3D12_CLEAR_VALUE,
riidResource: REFGUID,
ppvResource: *mut *mut c_void
) -> HRESULT
[src]
&self,
pHeapProperties: *const D3D12_HEAP_PROPERTIES,
HeapFlags: D3D12_HEAP_FLAGS,
pResourceDesc: *const D3D12_RESOURCE_DESC,
InitialResourceState: D3D12_RESOURCE_STATES,
pOptimizedClearValue: *const D3D12_CLEAR_VALUE,
riidResource: REFGUID,
ppvResource: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreateHeap(
&self,
pDesc: *const D3D12_HEAP_DESC,
riid: REFGUID,
ppvHeap: *mut *mut c_void
) -> HRESULT
[src]
&self,
pDesc: *const D3D12_HEAP_DESC,
riid: REFGUID,
ppvHeap: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreatePlacedResource(
&self,
pHeap: *mut ID3D12Heap,
HeapOffset: UINT64,
pDesc: *const D3D12_RESOURCE_DESC,
InitialState: D3D12_RESOURCE_STATES,
pOptimizedClearValue: *const D3D12_CLEAR_VALUE,
riid: REFGUID,
ppvResource: *mut *mut c_void
) -> HRESULT
[src]
&self,
pHeap: *mut ID3D12Heap,
HeapOffset: UINT64,
pDesc: *const D3D12_RESOURCE_DESC,
InitialState: D3D12_RESOURCE_STATES,
pOptimizedClearValue: *const D3D12_CLEAR_VALUE,
riid: REFGUID,
ppvResource: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreateReservedResource(
&self,
pDesc: *const D3D12_RESOURCE_DESC,
InitialState: D3D12_RESOURCE_STATES,
pOptimizedClearValue: *const D3D12_CLEAR_VALUE,
riid: REFGUID,
ppvResource: *mut *mut c_void
) -> HRESULT
[src]
&self,
pDesc: *const D3D12_RESOURCE_DESC,
InitialState: D3D12_RESOURCE_STATES,
pOptimizedClearValue: *const D3D12_CLEAR_VALUE,
riid: REFGUID,
ppvResource: *mut *mut c_void
) -> HRESULT
pub unsafe fn CreateSharedHandle(
&self,
pObject: *mut ID3D12DeviceChild,
pAttributes: *const SECURITY_ATTRIBUTES,
Access: DWORD,
Name: LPCWSTR,
pHandle: *mut HANDLE
) -> HRESULT
[src]
&self,
pObject: *mut ID3D12DeviceChild,
pAttributes: *const SECURITY_ATTRIBUTES,
Access: DWORD,
Name: LPCWSTR,
pHandle: *mut HANDLE
) -> HRESULT
pub unsafe fn OpenSharedHandle(
&self,
NTHandle: HANDLE,
riid: REFGUID,
ppvObj: *mut *mut c_void
) -> HRESULT
[src]
&self,
NTHandle: HANDLE,
riid: REFGUID,
ppvObj: *mut *mut c_void
) -> HRESULT
pub unsafe fn OpenSharedHandleByName(
&self,
Name: LPCWSTR,
Access: DWORD,
pNTHandle: *mut HANDLE
) -> HRESULT
[src]
&self,
Name: LPCWSTR,
Access: DWORD,
pNTHandle: *mut HANDLE
) -> HRESULT
pub unsafe fn MakeResident(
&self,
NumObjects: UINT,
ppObjects: *mut *mut ID3D12Pageable
) -> HRESULT
[src]
&self,
NumObjects: UINT,
ppObjects: *mut *mut ID3D12Pageable
) -> HRESULT
pub unsafe fn Evict(
&self,
NumObjects: UINT,
ppObjects: *mut *mut ID3D12Pageable
) -> HRESULT
[src]
&self,
NumObjects: UINT,
ppObjects: *mut *mut ID3D12Pageable
) -> HRESULT
pub unsafe fn CreateFence(
&self,
InitialValue: UINT64,
Flags: D3D12_FENCE_FLAGS,
riid: REFGUID,
ppFence: *mut *mut c_void
) -> HRESULT
[src]
&self,
InitialValue: UINT64,
Flags: D3D12_FENCE_FLAGS,
riid: REFGUID,
ppFence: *mut *mut c_void
) -> HRESULT
pub unsafe fn GetDeviceRemovedReason(&self) -> HRESULT
[src]
pub unsafe fn GetCopyableFootprints(
&self,
pResourceDesc: *const D3D12_RESOURCE_DESC,
FirstSubresource: UINT,
NumSubresources: UINT,
BaseOffset: UINT64,
pLayouts: *mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT,
pNumRows: *mut UINT,
pRowSizeInBytes: *mut UINT64,
pTotalBytes: *mut UINT64
)
[src]
&self,
pResourceDesc: *const D3D12_RESOURCE_DESC,
FirstSubresource: UINT,
NumSubresources: UINT,
BaseOffset: UINT64,
pLayouts: *mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT,
pNumRows: *mut UINT,
pRowSizeInBytes: *mut UINT64,
pTotalBytes: *mut UINT64
)
pub unsafe fn CreateQueryHeap(
&self,
pDesc: *const D3D12_QUERY_HEAP_DESC,
riid: REFGUID,
ppvHeap: *mut *mut c_void
) -> HRESULT
[src]
&self,
pDesc: *const D3D12_QUERY_HEAP_DESC,
riid: REFGUID,
ppvHeap: *mut *mut c_void
) -> HRESULT
pub unsafe fn SetStablePowerState(&self, Enable: BOOL) -> HRESULT
[src]
pub unsafe fn CreateCommandSignature(
&self,
pDesc: *const D3D12_COMMAND_SIGNATURE_DESC,
pRootSignature: *mut ID3D12RootSignature,
riid: REFGUID,
ppvCommandSignature: *mut *mut c_void
) -> HRESULT
[src]
&self,
pDesc: *const D3D12_COMMAND_SIGNATURE_DESC,
pRootSignature: *mut ID3D12RootSignature,
riid: REFGUID,
ppvCommandSignature: *mut *mut c_void
) -> HRESULT
pub unsafe fn GetResourceTiling(
&self,
pTiledResource: *mut ID3D12Resource,
pNumTilesForEntireResource: *mut UINT,
pPackedMipDesc: *mut D3D12_PACKED_MIP_INFO,
pStandardTileShapeForNonPackedMips: *mut D3D12_TILE_SHAPE,
pNumSubresourceTilings: *mut UINT,
FirstSubresourceTilingToGet: UINT,
pSubresourceTilingsForNonPackedMips: *mut D3D12_SUBRESOURCE_TILING
)
[src]
&self,
pTiledResource: *mut ID3D12Resource,
pNumTilesForEntireResource: *mut UINT,
pPackedMipDesc: *mut D3D12_PACKED_MIP_INFO,
pStandardTileShapeForNonPackedMips: *mut D3D12_TILE_SHAPE,
pNumSubresourceTilings: *mut UINT,
FirstSubresourceTilingToGet: UINT,
pSubresourceTilingsForNonPackedMips: *mut D3D12_SUBRESOURCE_TILING
)
pub unsafe fn GetAdapterLuid(&self) -> LUID
[src]
Methods from Deref<Target = ID3D12Object>
pub unsafe fn GetPrivateData(
&self,
guid: REFGUID,
pDataSize: *mut UINT,
pData: *mut c_void
) -> HRESULT
[src]
&self,
guid: REFGUID,
pDataSize: *mut UINT,
pData: *mut c_void
) -> HRESULT
pub unsafe fn SetPrivateData(
&self,
guid: REFGUID,
DataSize: UINT,
pData: *const c_void
) -> HRESULT
[src]
&self,
guid: REFGUID,
DataSize: UINT,
pData: *const c_void
) -> HRESULT
pub unsafe fn SetPrivateDataInterface(
&self,
guid: REFGUID,
pData: *const IUnknown
) -> HRESULT
[src]
&self,
guid: REFGUID,
pData: *const IUnknown
) -> HRESULT
pub unsafe fn SetName(&self, Name: LPCWSTR) -> HRESULT
[src]
Trait Implementations
impl Deref for ID3D12Device
[src]
type Target = ID3D12Object
The resulting type after dereferencing.
fn deref(&self) -> &ID3D12Object
[src]
impl Interface for ID3D12Device
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,