What is pd3dDevice in DirectX 11

  alphablending, blending, c++, directx-11

I am currently trying to make UI transparent in DirectX 11 for a university project and am looking at blend states and other resourced within the Microsoft docs. I keep coming across pd3dDevice and am truly lost on what it is and have looked in so many places just to see people using it but with no reference to what it is. I first found it here:https://docs.microsoft.com/en-us/windows/win32/direct3d11/d3d10-graphics-programming-guide-blend-state#create-the-blend-state and I am trying to find a way to use it or access it in anyways but cant find out what is is or what it references. Any help would be much appreciated.

ID3D11BlendState1* g_pBlendStateNoBlend = NULL;

D3D11_BLEND_DESC1 BlendState;
ZeroMemory(&BlendState, sizeof(D3D11_BLEND_DESC1));
BlendState.RenderTarget[0].BlendEnable = FALSE;
BlendState.RenderTarget[0].RenderTargetWriteMask = 
D3D11_COLOR_WRITE_ENABLE_ALL;
pd3dDevice->CreateBlendState1(&BlendState, &g_pBlendStateNoBlend);

Source: Windows Questions C++

LEAVE A COMMENT