C language function:D3DXCreateTextureFromResourceEx sample codes

Search sample code in the internet.It is the result.


TITLE : D3DXCreateTextureFromResourceEx function (Windows)
The function is equivalent to D3DXCreateTextureFromResourceEx(pDevice, hSrcModule, pSrcResource, D3DX_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, D3DFMT_UNKNOWN, D3DPOOL_MANAGED, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, ppTexture)........
http://msdn.microsoft.com/en-us/library/windows/desktop/bb172805(v=vs.85).aspx


TITLE : D3DXCreateTextureFromResourceEx function (Windows)
HRESULT D3DXCreateTextureFromResourceEx(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/bb172806(v=vs.85).aspx
TITLE : C++ DirectX - Load texture - Stack Overflow
D3DXCreateTextureFromResourceEx(m_pD3DDevice,.......
http://stackoverflow.com/questions/23979304/c-directx-load-texture
TITLE : Direct3D 8 Tutorial #1
You can see that this .BMP file has a medium gray background. Microsoft's D3DXCreateTextureFromResourceEx() function provides a way to declare one particular color as the color key color which means that it won't be copied to the screen. The way you accomplish this in Direct3D8 is by enabling alpha blending via a statement such as:.......
http://www.computersciencelab.com/Direct3DTut1.htm
search Google

https://www.google.com/#q=D3DXCreateTextureFromResourceEx