HydraHook
Direct3D and Core Audio hooking library for Windows
Loading...
Searching...
No Matches
Direct3D12Hooking::Direct3D12 Class Reference

#include <Direct3D12.h>

Inheritance diagram for Direct3D12Hooking::Direct3D12:
Direct3DHooking::Direct3DBase

Public Member Functions

 Direct3D12 ()
 ~Direct3D12 ()
std::vector< size_t > vtable () const override
 Returns vtable indices for hookable methods (Present, Reset, etc.).
void ** commandQueueVtable () const
 Returns the ID3D12CommandQueue vtable (for ExecuteCommandLists hook).
Public Member Functions inherited from Direct3DHooking::Direct3DBase
 Direct3DBase ()

Additional Inherited Members

Protected Member Functions inherited from Direct3DHooking::Direct3DBase
virtual ~Direct3DBase ()
Protected Attributes inherited from Direct3DHooking::Direct3DBase
std::unique_ptr< Window > temp_window

Detailed Description

Definition at line 39 of file Direct3D12.h.

Constructor & Destructor Documentation

◆ Direct3D12()

◆ ~Direct3D12()

Direct3D12Hooking::Direct3D12::~Direct3D12 ( )

Definition at line 178 of file Direct3D12.cpp.

Member Function Documentation

◆ commandQueueVtable()

void ** Direct3D12Hooking::Direct3D12::commandQueueVtable ( ) const
inline

Returns the ID3D12CommandQueue vtable (for ExecuteCommandLists hook).

Definition at line 51 of file Direct3D12.h.

◆ vtable()

std::vector< size_t > Direct3D12Hooking::Direct3D12::vtable ( ) const
overridevirtual

Returns vtable indices for hookable methods (Present, Reset, etc.).

Returns
Vector of vtable offsets to hook.

Implements Direct3DHooking::Direct3DBase.

Definition at line 153 of file Direct3D12.cpp.

References DXGIHooking::DXGI::SwapChain1VTableElements, DXGIHooking::DXGI::SwapChain3VTableElements, and DXGIHooking::DXGI::SwapChainVTableElements.


The documentation for this class was generated from the following files: