public ResourceFactory(Veldrid.ResourceFactory factory) { _factory = factory; }
protected void PostContextCreated() { PointSampler = ResourceFactory.CreateSampler(SamplerDescription.Point); LinearSampler = ResourceFactory.CreateSampler(SamplerDescription.Linear); Aniso4xSampler = ResourceFactory.CreateSampler(SamplerDescription.Aniso4x); }
public BufferFactory(Veldrid.ResourceFactory factory) : base(factory) { }