示例#1
0
        public virtual int GetDevice(
            out ID3D10Device ppDevice
            )
        {
            var fp = GetFunctionPointer(5);

            if (m_GetDeviceFunc == null)
            {
                m_GetDeviceFunc = (GetDeviceFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetDeviceFunc));
            }
            ppDevice = new ID3D10Device();
            return(m_GetDeviceFunc(m_ptr, out ppDevice.PtrForNew));
        }
示例#2
0
 public static extern string D3D10GetVertexShaderProfile(
     ID3D10Device pDevice
     );
示例#3
0
 public static extern string D3D10GetGeometryShaderProfile(
     ID3D10Device pDevice
     );
示例#4
0
 public static extern string D3D10GetPixelShaderProfile(
     ID3D10Device pDevice
     );