Esempio n. 1
0
        /// <summary>
        /// Disposes of the Effect object.
        /// </summary>
        public void Dispose()
        {
            if (_effect != null)
            {
                _effect.Dispose();
                _effect = null;
            }

            _createType          = Effect.CreationType.File;
            _filename            = null;
            _stream              = null;
            _sourceData          = null;
            _preprocessorDefines = null;
            _includeFile         = null;
            _flags  = D3D.ShaderFlags.None;
            _pool   = null;
            _errors = null;
        }
Esempio n. 2
0
 public static Effect FromStream(Device device, Stream data, Macro[] preprocessorDefines, Include includeFile, string skipConstants, ShaderFlags flags, EffectPool pool, out string compilationErrors)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 public static Effect FromStream(Device device, Stream data, Include includeFile, string skipConstants, ShaderFlags flags, EffectPool pool)
 {
     throw new NotImplementedException();
 }
Esempio n. 4
0
 public static Effect FromString(Device device, string sourceData, Include includeFile, string skipConstants, ShaderFlags flags, EffectPool pool, out string compilationErrors)
 {
     throw new NotImplementedException();
 }