public void Dispose_Sampler() { Sampler s = RF.CreateSampler(SamplerDescription.Point); s.Dispose(); Assert.True(s.IsDisposed); }
public void Dispose() { ResourceSet.Dispose(); ResourceLayout.Dispose(); Sampler.Dispose(); Texture.Dispose(); }
public void Dispose() { deactivated = true; if (Sampler != null) { Sampler.Dispose(); } Result.Dispose(); }
public new void Dispose() { base.Dispose(); linearSampler.Dispose(); fontSampler.Dispose(); foreach (var material in materials.Values) { material.Texture?.Dispose(); material.Dispose(); } }
public void Dispose() { ThrowIfDisposed(); sampler.Dispose(); if (disposeTexture) { texture.Dispose(); } disposed = true; }
public void Dispose() { if (_initialized) { _sampler.Dispose(); _texture.Dispose(); _program.Dispose(); _vao.Dispose(); _vbo.Dispose(); } _initialized = false; }
public void Dispose() { outlineTexture.Dispose(); renderTexture.Dispose(); depthStencilZWrite.Dispose(); depthStencilNoZWrite.Dispose(); defaultSampler.Dispose(); instancesBuffer.Dispose(); pixelShaderSceneBuffer.Dispose(); objectBuffer.Dispose(); sceneBuffer.Dispose(); }
public void Dispose() { if (_disposed) { return; } foreach (var pipeline in _pipelines.Values) { pipeline.Dispose(); } foreach (var t in _textureResourceSets) { t?.Dispose(); } foreach (var t in _textureViews) { t?.Dispose(); } _textureLayout.Dispose(); _wvpSet.Dispose(); _wvpBuffer.Dispose(); _wvpLayout.Dispose(); foreach (var s in _samplerResourceSets) { if (s.IsValueCreated) { s.Value.Dispose(); } } _linearClamp?.Dispose(); _pointClamp?.Dispose(); _anisotropicClamp?.Dispose(); _samplerLayout.Dispose(); _vertexShader.Dispose(); _fragmentShader.Dispose(); _commandList.Dispose(); _vertexBuffer.Dispose(); _indexBuffer.Dispose(); _disposed = true; }
public void Dispose() { CheckersShader.Dispose(); Vao.Dispose(); samplerLinear.Dispose(); samplerLinearMip.Dispose(); samplerNearest.Dispose(); samplerNearestMip.Dispose(); TextureCache.Clear(); GetPixelShader.Dispose(); SrgbShader.Dispose(); ExportShader.Dispose(); LinearMaxStatistics.Dispose(); SrgbMaxStatistics.Dispose(); LinearMinStatistics.Dispose(); SrgbMinStatistics.Dispose(); }
public void ReleaseDeviceResources() { oclFullyInitialized = false; if (OCLSampler != null) { OCLSampler.Dispose(); OCLSampler = null; } if (OCLInputImage != null) { OCLInputImage.Dispose(); OCLInputImage = null; } if (OCLOutputImage != null) { OCLOutputImage.Dispose(); OCLOutputImage = null; } if (FilterKernel != null) { FilterKernel.Dispose(); FilterKernel = null; } if (oclProgram != null) { oclProgram.Dispose(); oclProgram = null; } if (oclCQ != null) { oclCQ.Dispose(); oclCQ = null; } if (oclContext != null) { oclContext.Dispose(); oclContext = null; } }
protected override void DisposeManaged() { base.DisposeManaged(); Texture.Dispose(); Sampler.Dispose(); }
public static void Destory() { SamplersSet.Dispose(); SamplersLayout.Dispose(); _linearSampler.Dispose(); }
public void Dispose() { Sampler?.Dispose(); Reporter?.Dispose(); }
public override void Dispose() { Tex?.Dispose(); TexView?.Dispose(); TexSampler?.Dispose(); }