示例#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;
        }
示例#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();
 }
示例#3
0
 public static Effect FromStream(Device device, Stream data, Include includeFile, string skipConstants, ShaderFlags flags, EffectPool pool)
 {
     throw new NotImplementedException();
 }
示例#4
0
 public static Effect FromString(Device device, string sourceData, Include includeFile, string skipConstants, ShaderFlags flags, EffectPool pool, out string compilationErrors)
 {
     throw new NotImplementedException();
 }