D3d10 Fivem Info

D3d10 Fivem Info

HRESULT WINAPI hkPresent(IDXGISwapChain* pSwapChain, UINT SyncInterval, UINT Flags) { // Your D3D10 rendering code ID3D10Device* pDevice = nullptr; pSwapChain->GetDevice(__uuidof(ID3D10Device), (void**)&pDevice);

if (pDevice) { // Draw custom primitives, shaders, etc. pDevice->Release(); } d3d10 fivem

RegisterCommand("-bloom", function() SetSeethrough(false) Citizen.InvokeNative(0xBE3F7F0B, false) end, false) end) HRESULT WINAPI hkPresent(IDXGISwapChain* pSwapChain

-- Draw 3D lines using D3D10 primitives function Draw3DLine(startPos, endPos, color) local startScreen = World3dToScreen2d(startPos) local endScreen = World3dToScreen2d(endPos) d3d10 fivem

return oPresent(pSwapChain, SyncInterval, Flags); }