#[repr(C)]
pub struct ID3D12DeviceVtbl {
pub parent: ID3D12ObjectVtbl,
pub GetNodeCount: unsafe extern "system" fn(_: *mut ID3D12Device) -> UINT,
pub CreateCommandQueue: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMMAND_QUEUE_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CreateCommandAllocator: unsafe extern "system" fn(_: *mut ID3D12Device, _: D3D12_COMMAND_LIST_TYPE, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CreateGraphicsPipelineState: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CreateComputePipelineState: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMPUTE_PIPELINE_STATE_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CreateCommandList: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: D3D12_COMMAND_LIST_TYPE, _: *mut ID3D12CommandAllocator, _: *mut ID3D12PipelineState, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CheckFeatureSupport: unsafe extern "system" fn(_: *mut ID3D12Device, _: D3D12_FEATURE, _: *mut c_void, _: UINT) -> HRESULT,
pub CreateDescriptorHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_DESCRIPTOR_HEAP_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub GetDescriptorHandleIncrementSize: unsafe extern "system" fn(_: *mut ID3D12Device, _: D3D12_DESCRIPTOR_HEAP_TYPE) -> UINT,
pub CreateRootSignature: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: *const c_void, _: SIZE_T, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
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, _: UINT, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const UINT, _: UINT, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const UINT, _: D3D12_DESCRIPTOR_HEAP_TYPE),
pub CopyDescriptorsSimple: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: D3D12_CPU_DESCRIPTOR_HANDLE, _: D3D12_DESCRIPTOR_HEAP_TYPE),
pub GetResourceAllocationInfo: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: UINT, _: *const D3D12_RESOURCE_DESC, _: *mut D3D12_RESOURCE_ALLOCATION_INFO) -> *mut D3D12_RESOURCE_ALLOCATION_INFO,
pub GetCustomHeapProperties: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: D3D12_HEAP_TYPE, _: *mut D3D12_HEAP_PROPERTIES) -> *mut D3D12_HEAP_PROPERTIES,
pub CreateCommittedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_HEAP_PROPERTIES, _: D3D12_HEAP_FLAGS, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CreateHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_HEAP_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CreatePlacedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Heap, _: UINT64, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CreateReservedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub CreateSharedHandle: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12DeviceChild, _: *const SECURITY_ATTRIBUTES, _: DWORD, _: LPCWSTR, _: *mut HANDLE) -> HRESULT,
pub OpenSharedHandle: unsafe extern "system" fn(_: *mut ID3D12Device, _: HANDLE, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub OpenSharedHandleByName: unsafe extern "system" fn(_: *mut ID3D12Device, _: LPCWSTR, _: DWORD, _: *mut HANDLE) -> HRESULT,
pub MakeResident: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: *mut *mut ID3D12Pageable) -> HRESULT,
pub Evict: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: *mut *mut ID3D12Pageable) -> HRESULT,
pub CreateFence: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT64, _: D3D12_FENCE_FLAGS, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub GetDeviceRemovedReason: unsafe extern "system" fn(_: *mut ID3D12Device) -> HRESULT,
pub GetCopyableFootprints: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_RESOURCE_DESC, _: UINT, _: UINT, _: UINT64, _: *mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT, _: *mut UINT, _: *mut UINT64, _: *mut UINT64),
pub CreateQueryHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_QUERY_HEAP_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub SetStablePowerState: unsafe extern "system" fn(_: *mut ID3D12Device, _: BOOL) -> HRESULT,
pub CreateCommandSignature: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMMAND_SIGNATURE_DESC, _: *mut ID3D12RootSignature, _: REFGUID, _: *mut *mut c_void) -> HRESULT,
pub GetResourceTiling: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *mut UINT, _: *mut D3D12_PACKED_MIP_INFO, _: *mut D3D12_TILE_SHAPE, _: *mut UINT, _: UINT, _: *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) -> UINT
CreateCommandQueue: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMMAND_QUEUE_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CreateCommandAllocator: unsafe extern "system" fn(_: *mut ID3D12Device, _: D3D12_COMMAND_LIST_TYPE, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CreateGraphicsPipelineState: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CreateComputePipelineState: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMPUTE_PIPELINE_STATE_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CreateCommandList: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: D3D12_COMMAND_LIST_TYPE, _: *mut ID3D12CommandAllocator, _: *mut ID3D12PipelineState, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CheckFeatureSupport: unsafe extern "system" fn(_: *mut ID3D12Device, _: D3D12_FEATURE, _: *mut c_void, _: UINT) -> HRESULT
CreateDescriptorHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_DESCRIPTOR_HEAP_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT
GetDescriptorHandleIncrementSize: unsafe extern "system" fn(_: *mut ID3D12Device, _: D3D12_DESCRIPTOR_HEAP_TYPE) -> UINT
CreateRootSignature: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: *const c_void, _: SIZE_T, _: REFGUID, _: *mut *mut c_void) -> HRESULT
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, _: UINT, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const UINT, _: UINT, _: *const D3D12_CPU_DESCRIPTOR_HANDLE, _: *const UINT, _: D3D12_DESCRIPTOR_HEAP_TYPE)
GetResourceAllocationInfo: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: UINT, _: *const D3D12_RESOURCE_DESC, _: *mut D3D12_RESOURCE_ALLOCATION_INFO) -> *mut D3D12_RESOURCE_ALLOCATION_INFO
GetCustomHeapProperties: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: D3D12_HEAP_TYPE, _: *mut D3D12_HEAP_PROPERTIES) -> *mut D3D12_HEAP_PROPERTIES
CreateCommittedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_HEAP_PROPERTIES, _: D3D12_HEAP_FLAGS, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CreateHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_HEAP_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CreatePlacedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Heap, _: UINT64, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CreateReservedResource: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_RESOURCE_DESC, _: D3D12_RESOURCE_STATES, _: *const D3D12_CLEAR_VALUE, _: REFGUID, _: *mut *mut c_void) -> HRESULT
CreateSharedHandle: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12DeviceChild, _: *const SECURITY_ATTRIBUTES, _: DWORD, _: LPCWSTR, _: *mut HANDLE) -> HRESULT
OpenSharedHandle: unsafe extern "system" fn(_: *mut ID3D12Device, _: HANDLE, _: REFGUID, _: *mut *mut c_void) -> HRESULT
OpenSharedHandleByName: unsafe extern "system" fn(_: *mut ID3D12Device, _: LPCWSTR, _: DWORD, _: *mut HANDLE) -> HRESULT
MakeResident: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: *mut *mut ID3D12Pageable) -> HRESULT
Evict: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT, _: *mut *mut ID3D12Pageable) -> HRESULT
CreateFence: unsafe extern "system" fn(_: *mut ID3D12Device, _: UINT64, _: D3D12_FENCE_FLAGS, _: REFGUID, _: *mut *mut c_void) -> HRESULT
GetDeviceRemovedReason: unsafe extern "system" fn(_: *mut ID3D12Device) -> HRESULT
CreateQueryHeap: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_QUERY_HEAP_DESC, _: REFGUID, _: *mut *mut c_void) -> HRESULT
SetStablePowerState: unsafe extern "system" fn(_: *mut ID3D12Device, _: BOOL) -> HRESULT
CreateCommandSignature: unsafe extern "system" fn(_: *mut ID3D12Device, _: *const D3D12_COMMAND_SIGNATURE_DESC, _: *mut ID3D12RootSignature, _: REFGUID, _: *mut *mut c_void) -> HRESULT
GetResourceTiling: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut ID3D12Resource, _: *mut UINT, _: *mut D3D12_PACKED_MIP_INFO, _: *mut D3D12_TILE_SHAPE, _: *mut UINT, _: UINT, _: *mut D3D12_SUBRESOURCE_TILING)
GetAdapterLuid: unsafe extern "system" fn(_: *mut ID3D12Device, _: *mut LUID) -> *mut LUID