Creates a texture shader object from the compiled shader.
HRESULT D3DXCreateTextureShader( CONST DWORD * pFunction, LPD3DXTEXTURESHADER * ppTextureShader );
If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA, E_OUTOFMEMORY.
Header: Declared in D3dx9shader.h.