public MaterialFactory(GraphicsDevice device, GraphicsResourceTracker disposables) { _Device = device; _TexFactory = new TextureFactory(device, disposables); _Disposables = disposables; }
public TextureFactory(GraphicsDevice device, GraphicsResourceTracker disposables) { _Device = device; _Disposables = disposables; }
internal void Reset() { _Disposables = new GraphicsResourceTracker(); _MatFactory = new EffectsFactory(_Device, _Disposables); _MeshWriter = new MeshPrimitiveWriter(); }