Exemplo n.º 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));
        }
Exemplo n.º 2
0
 public static extern string D3D10GetVertexShaderProfile(
     ID3D10Device pDevice
     );
Exemplo n.º 3
0
 public static extern string D3D10GetGeometryShaderProfile(
     ID3D10Device pDevice
     );
Exemplo n.º 4
0
 public static extern string D3D10GetPixelShaderProfile(
     ID3D10Device pDevice
     );