/// <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; }
public static Effect FromStream(Device device, Stream data, Macro[] preprocessorDefines, Include includeFile, string skipConstants, ShaderFlags flags, EffectPool pool, out string compilationErrors) { throw new NotImplementedException(); }
public static Effect FromStream(Device device, Stream data, Include includeFile, string skipConstants, ShaderFlags flags, EffectPool pool) { throw new NotImplementedException(); }
public static Effect FromString(Device device, string sourceData, Include includeFile, string skipConstants, ShaderFlags flags, EffectPool pool, out string compilationErrors) { throw new NotImplementedException(); }