public void GetType(ref D3D11_RESOURCE_DIMENSION pResourceDimension) { if (m_GetTypeFunc == null) { var fp = GetFunctionPointer(7); m_GetTypeFunc = (GetTypeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetTypeFunc)); } m_GetTypeFunc(m_ptr, ref pResourceDimension); }
public virtual void GetComType( out D3D11_RESOURCE_DIMENSION pResourceDimension ) { var fp = GetFunctionPointer(7); if (m_GetTypeFunc == null) { m_GetTypeFunc = (GetTypeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetTypeFunc)); } m_GetTypeFunc(m_ptr, out pResourceDimension); }