I am currently trying to make a UI transparent in DirectX 11 for a university project, and am looking at blend states and other resources within the Microsoft docs. I keep coming across pd3dDevice
and am truly lost on what it is. I 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: Configuring Blending Functionality: Create the Blend State, and I am trying to find a way to use it or access it in any way, but I can't find out what it is or what it references.
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);