Struct gpu_allocator::d3d12::winapi_d3d12::ID3D12DeviceVtbl
source · #[repr(C)]pub struct ID3D12DeviceVtbl {Show 38 fields
pub parent: ID3D12ObjectVtbl,
pub GetNodeCount: unsafe extern "system" fn(_: *mut ID3D12Device) -> u32,
pub CreateCommandQueue: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMMAND_QUEUE_DESC, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreateCommandAllocator: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreateGraphicsPipelineState: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreateComputePipelineState: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMPUTE_PIPELINE_STATE_DESC, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreateCommandList: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: u32, _: *mut ID3D12CommandAllocator, _: *mut ID3D12PipelineState, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CheckFeatureSupport: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *mut c_void, _: u32) -> i32,
pub CreateDescriptorHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_DESCRIPTOR_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> i32,
pub GetDescriptorHandleIncrementSize: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32) -> u32,
pub CreateRootSignature: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *const c_void, _: usize, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreateConstantBufferView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_CONSTANT_BUFFER_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateShaderResourceView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *const D3D12_SHADER_RESOURCE_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateUnorderedAccessView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *mut ID3D12Resource, _: *const D3D12_UNORDERED_ACCESS_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateRenderTargetView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *const D3D12_RENDER_TARGET_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateDepthStencilView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *const D3D12_DEPTH_STENCIL_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CreateSampler: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_SAMPLER_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE),
pub CopyDescriptors: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const u32, _: u32, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const u32, _: u32),
pub CopyDescriptorsSimple: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: u32),
pub GetResourceAllocationInfo: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut D3D12_RESOURCE_ALLOCATION_INFO, _: u32, _: u32, _: *const D3D12_RESOURCE_DESC) -> *mut D3D12_RESOURCE_ALLOCATION_INFO,
pub GetCustomHeapProperties: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut D3D12_HEAP_PROPERTIES, _: u32, _: u32) -> *mut D3D12_HEAP_PROPERTIES,
pub CreateCommittedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_HEAP_PROPERTIES, _: u32, _: *const D3D12_RESOURCE_DESC, _: u32, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreateHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreatePlacedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Heap, _: u64, _: *const D3D12_RESOURCE_DESC, _: u32, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreateReservedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_RESOURCE_DESC, _: u32, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> i32,
pub CreateSharedHandle: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12DeviceChild, _: *const SECURITY_ATTRIBUTES, _: u32, _: *const u16, _: *mut *mut c_void) -> i32,
pub OpenSharedHandle: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> i32,
pub OpenSharedHandleByName: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const u16, _: u32, _: *mut *mut c_void) -> i32,
pub MakeResident: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *mut *mut ID3D12Pageable) -> i32,
pub Evict: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *mut *mut ID3D12Pageable) -> i32,
pub CreateFence: unsafe extern "system" fn(_: *mut ID3D12Device, _: u64, _: u32, _: *const GUID, _: *mut *mut c_void) -> i32,
pub GetDeviceRemovedReason: unsafe extern "system" fn(_: *mut ID3D12Device) -> i32,
pub GetCopyableFootprints: unsafe extern "system" fn(_: *mut ID3D12Device, _: *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 ID3D12Device, _: *const D3D12_QUERY_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> i32,
pub SetStablePowerState: unsafe extern "system" fn(_: *mut ID3D12Device, _: i32) -> i32,
pub CreateCommandSignature: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMMAND_SIGNATURE_DESC, _: *mut ID3D12RootSignature, _: *const GUID, _: *mut *mut c_void) -> i32,
pub GetResourceTiling: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *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 ID3D12Device, _: *mut LUID) -> *mut LUID,
}
Fields§
§parent: ID3D12ObjectVtbl
§GetNodeCount: unsafe extern "system" fn(_: *mut ID3D12Device) -> u32
§CreateCommandQueue: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMMAND_QUEUE_DESC, _: *const GUID, _: *mut *mut c_void) -> i32
§CreateCommandAllocator: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *const GUID, _: *mut *mut c_void) -> i32
§CreateGraphicsPipelineState: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC, _: *const GUID, _: *mut *mut c_void) -> i32
§CreateComputePipelineState: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMPUTE_PIPELINE_STATE_DESC, _: *const GUID, _: *mut *mut c_void) -> i32
§CreateCommandList: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: u32, _: *mut ID3D12CommandAllocator, _: *mut ID3D12PipelineState, _: *const GUID, _: *mut *mut c_void) -> i32
§CheckFeatureSupport: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *mut c_void, _: u32) -> i32
§CreateDescriptorHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_DESCRIPTOR_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> i32
§GetDescriptorHandleIncrementSize: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32) -> u32
§CreateRootSignature: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *const c_void, _: usize, _: *const GUID, _: *mut *mut c_void) -> i32
§CreateConstantBufferView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_CONSTANT_BUFFER_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateShaderResourceView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *const D3D12_SHADER_RESOURCE_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateUnorderedAccessView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *mut ID3D12Resource, _: *const D3D12_UNORDERED_ACCESS_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateRenderTargetView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *const D3D12_RENDER_TARGET_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateDepthStencilView: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *const D3D12_DEPTH_STENCIL_VIEW_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CreateSampler: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_SAMPLER_DESC, _: D3D12_CPU_DESCRIPTOR_HANDLE)
§CopyDescriptors: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const u32, _: u32, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const u32, _: u32)
§CopyDescriptorsSimple: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: u32)
§GetResourceAllocationInfo: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut D3D12_RESOURCE_ALLOCATION_INFO, _: u32, _: u32, _: *const D3D12_RESOURCE_DESC) -> *mut D3D12_RESOURCE_ALLOCATION_INFO
§GetCustomHeapProperties: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut D3D12_HEAP_PROPERTIES, _: u32, _: u32) -> *mut D3D12_HEAP_PROPERTIES
§CreateCommittedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_HEAP_PROPERTIES, _: u32, _: *const D3D12_RESOURCE_DESC, _: u32, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> i32
§CreateHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> i32
§CreatePlacedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Heap, _: u64, _: *const D3D12_RESOURCE_DESC, _: u32, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> i32
§CreateReservedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_RESOURCE_DESC, _: u32, _: *const D3D12_CLEAR_VALUE, _: *const GUID, _: *mut *mut c_void) -> i32
§MakeResident: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *mut *mut ID3D12Pageable) -> i32
§Evict: unsafe extern "system" fn(_: *mut ID3D12Device, _: u32, _: *mut *mut ID3D12Pageable) -> i32
§CreateFence: unsafe extern "system" fn(_: *mut ID3D12Device, _: u64, _: u32, _: *const GUID, _: *mut *mut c_void) -> i32
§GetDeviceRemovedReason: unsafe extern "system" fn(_: *mut ID3D12Device) -> i32
§GetCopyableFootprints: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_RESOURCE_DESC, _: u32, _: u32, _: u64, _: *mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT, _: *mut u32, _: *mut u64, _: *mut u64)
§CreateQueryHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_QUERY_HEAP_DESC, _: *const GUID, _: *mut *mut c_void) -> i32
§SetStablePowerState: unsafe extern "system" fn(_: *mut ID3D12Device, _: i32) -> i32
§CreateCommandSignature: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMMAND_SIGNATURE_DESC, _: *mut ID3D12RootSignature, _: *const GUID, _: *mut *mut c_void) -> i32
§GetResourceTiling: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *mut u32, _: *mut D3D12_PACKED_MIP_INFO, _: *mut D3D12_TILE_SHAPE, _: *mut u32, _: u32, _: *mut D3D12_SUBRESOURCE_TILING)
§GetAdapterLuid: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut LUID) -> *mut LUID
Auto Trait Implementations§
impl Freeze for ID3D12DeviceVtbl
impl RefUnwindSafe for ID3D12DeviceVtbl
impl Send for ID3D12DeviceVtbl
impl Sync for ID3D12DeviceVtbl
impl Unpin for ID3D12DeviceVtbl
impl UnwindSafe for ID3D12DeviceVtbl
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