Struct windows::Win32::Graphics::Direct3D12::ID3D12Device_Vtbl
#[repr(C)]pub struct ID3D12Device_Vtbl {Show 38 fields
pub base__: ID3D12Object_Vtbl,
pub GetNodeCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub CreateCommandQueue: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_COMMAND_QUEUE_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateCommandAllocator: unsafe extern "system" fn(_: *mut c_void, _: D3D12_COMMAND_LIST_TYPE, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateGraphicsPipelineState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateComputePipelineState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_COMPUTE_PIPELINE_STATE_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateCommandList: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3D12_COMMAND_LIST_TYPE, _: *mut c_void, _: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CheckFeatureSupport: unsafe extern "system" fn(_: *mut c_void, _: D3D12_FEATURE, _: *mut c_void, _: u32) -> HRESULT,
pub CreateDescriptorHeap: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_DESCRIPTOR_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub GetDescriptorHandleIncrementSize: unsafe extern "system" fn(_: *mut c_void, _: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32,
pub CreateRootSignature: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const c_void, _: usize, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateConstantBufferView: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_CONSTANT_BUFFER_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateShaderResourceView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D12_SHADER_RESOURCE_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateUnorderedAccessView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const D3D12_UNORDERED_ACCESS_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateRenderTargetView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D12_RENDER_TARGET_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateDepthStencilView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D12_DEPTH_STENCIL_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateSampler: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_SAMPLER_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CopyDescriptors: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const u32, _: u32, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const u32, _: D3D12_DESCRIPTOR_HEAP_TYPE),
pub CopyDescriptorsSimple: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: D3D12_DESCRIPTOR_HEAP_TYPE),
pub GetResourceAllocationInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D12_RESOURCE_ALLOCATION_INFO, _: u32, _: u32, _: *const D3D12_RESOURCE_DESC),
pub GetCustomHeapProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D12_HEAP_PROPERTIES, _: u32, _: D3D12_HEAP_TYPE),
pub CreateCommittedResource: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_HEAP_PROPERTIES, _: D3D12_HEAP_FLAGS, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateHeap: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreatePlacedResource: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u64, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateReservedResource: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateSharedHandle: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const SECURITY_ATTRIBUTES, _: u32, _: PCWSTR, _: *mut HANDLE) -> HRESULT,
pub OpenSharedHandle: unsafe extern "system" fn(_: *mut c_void, _: HANDLE, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub OpenSharedHandleByName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut HANDLE) -> HRESULT,
pub MakeResident: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const *mut c_void) -> HRESULT,
pub Evict: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const *mut c_void) -> HRESULT,
pub CreateFence: unsafe extern "system" fn(_: *mut c_void, _: u64, _: D3D12_FENCE_FLAGS, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub GetDeviceRemovedReason: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetCopyableFootprints: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_RESOURCE_DESC, _: u32, _: u32, _: u64, _: *mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT, _: *mut u32, _: *mut u64, _: *mut u64),
pub CreateQueryHeap: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_QUERY_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub SetStablePowerState: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub CreateCommandSignature: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_COMMAND_SIGNATURE_DESC, _: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub GetResourceTiling: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32, _: *mut D3D12_PACKED_MIP_INFO, _: *mut D3D12_TILE_SHAPE, _: *mut u32, _: u32, _: *mut D3D12_SUBRESOURCE_TILING),
pub GetAdapterLuid: unsafe extern "system" fn(_: *mut c_void, _: *mut LUID),
}
Fields§
§base__: ID3D12Object_Vtbl
§GetNodeCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§CreateCommandQueue: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_COMMAND_QUEUE_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreateCommandAllocator: unsafe extern "system" fn(_: *mut c_void, _: D3D12_COMMAND_LIST_TYPE, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreateGraphicsPipelineState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreateComputePipelineState: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_COMPUTE_PIPELINE_STATE_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreateCommandList: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3D12_COMMAND_LIST_TYPE, _: *mut c_void, _: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CheckFeatureSupport: unsafe extern "system" fn(_: *mut c_void, _: D3D12_FEATURE, _: *mut c_void, _: u32) -> HRESULT
§CreateDescriptorHeap: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_DESCRIPTOR_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§GetDescriptorHandleIncrementSize: unsafe extern "system" fn(_: *mut c_void, _: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32
§CreateRootSignature: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const c_void, _: usize, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreateConstantBufferView: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_CONSTANT_BUFFER_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateShaderResourceView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D12_SHADER_RESOURCE_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateUnorderedAccessView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const D3D12_UNORDERED_ACCESS_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateRenderTargetView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D12_RENDER_TARGET_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateDepthStencilView: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D3D12_DEPTH_STENCIL_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateSampler: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_SAMPLER_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CopyDescriptors: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const u32, _: u32, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const u32, _: D3D12_DESCRIPTOR_HEAP_TYPE)
§CopyDescriptorsSimple: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: D3D12_DESCRIPTOR_HEAP_TYPE)
§GetResourceAllocationInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D12_RESOURCE_ALLOCATION_INFO, _: u32, _: u32, _: *const D3D12_RESOURCE_DESC)
§GetCustomHeapProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut D3D12_HEAP_PROPERTIES, _: u32, _: D3D12_HEAP_TYPE)
§CreateCommittedResource: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_HEAP_PROPERTIES, _: D3D12_HEAP_FLAGS, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreateHeap: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreatePlacedResource: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u64, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreateReservedResource: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§MakeResident: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const *mut c_void) -> HRESULT
§Evict: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const *mut c_void) -> HRESULT
§CreateFence: unsafe extern "system" fn(_: *mut c_void, _: u64, _: D3D12_FENCE_FLAGS, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§GetDeviceRemovedReason: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetCopyableFootprints: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_RESOURCE_DESC, _: u32, _: u32, _: u64, _: *mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT, _: *mut u32, _: *mut u64, _: *mut u64)
§CreateQueryHeap: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_QUERY_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§SetStablePowerState: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§CreateCommandSignature: unsafe extern "system" fn(_: *mut c_void, _: *const D3D12_COMMAND_SIGNATURE_DESC, _: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§GetResourceTiling: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32, _: *mut D3D12_PACKED_MIP_INFO, _: *mut D3D12_TILE_SHAPE, _: *mut u32, _: u32, _: *mut D3D12_SUBRESOURCE_TILING)
§GetAdapterLuid: unsafe extern "system" fn(_: *mut c_void, _: *mut LUID)
Implementations§
§impl ID3D12Device_Vtbl
impl ID3D12Device_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ID3D12Device_Vtblwhere
Identity: ID3D12Device_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ID3D12Device_Vtbl
impl RefUnwindSafe for ID3D12Device_Vtbl
impl Send for ID3D12Device_Vtbl
impl Sync for ID3D12Device_Vtbl
impl Unpin for ID3D12Device_Vtbl
impl UnwindSafe for ID3D12Device_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more