protected override void DisposeResource() { base.DisposeResource(); if (alphas != null) { foreach (var alpha in alphas) { alpha.Dispose(); } alphas = null; } if (paAlphas != null) { foreach (var paAlpha in paAlphas) { paAlpha.Dispose(); } paAlphas = null; } if (effect != null) { effect.Dispose(); effect = null; } }
/// <summary> /// 破棄します。 /// </summary> protected override void DisposeResource() { if (effect != null) { effect.Dispose(); effect = null; } if (filterTextureHandle != null) { filterTextureHandle.Dispose(); filterTextureHandle = null; } if (lastRenderTargetTextureHandle != null) { lastRenderTargetTextureHandle.Dispose(); lastRenderTargetTextureHandle = null; } if (xTextureHandle != null) { xTextureHandle.Dispose(); xTextureHandle = null; } if (projectionHandle != null) { projectionHandle.Dispose(); projectionHandle = null; } if (sizeHandle != null) { sizeHandle.Dispose(); sizeHandle = null; } }
/// <summary> /// 破棄します。 /// </summary> protected override void DisposeResource() { if (effect != null) { effect.Dispose(); effect = null; } if (widthHeightHandle != null) { widthHeightHandle.Dispose(); widthHeightHandle = null; } if (projectionHandle != null) { projectionHandle.Dispose(); projectionHandle = null; } if (weightsHandle != null) { weightsHandle.Dispose(); weightsHandle = null; } if (textureHandle != null) { textureHandle.Dispose(); textureHandle = null; } }
protected override void DisposeResource() { if (effect != null) { effect.Dispose(); effect = null; } if (lastRenderTargetTextureHandle != null) { lastRenderTargetTextureHandle.Dispose(); lastRenderTargetTextureHandle = null; } if (textureHandle != null) { textureHandle.Dispose(); textureHandle = null; } if (maskTextureHandle != null) { maskTextureHandle.Dispose(); maskTextureHandle = null; } if (drawInfoHandle != null) { drawInfoHandle.Dispose(); drawInfoHandle = null; } if (widthHeightHandle != null) { widthHeightHandle.Dispose(); widthHeightHandle = null; } if (projectionHandle != null) { projectionHandle.Dispose(); projectionHandle = null; } if (filterInfoHandle != null) { filterInfoHandle.Dispose(); filterInfoHandle = null; } }
/// <summary> /// 破棄します。 /// </summary> protected override void DisposeResource() { if (effect != null) { effect.Dispose(); effect = null; } if (filterTextureHandle != null) { filterTextureHandle.Dispose(); filterTextureHandle = null; } if (lastRenderTargetTextureHandle != null) { lastRenderTargetTextureHandle.Dispose(); lastRenderTargetTextureHandle = null; } if (projectionHandle != null) { projectionHandle.Dispose(); projectionHandle = null; } if (thicknessHandle != null) { thicknessHandle.Dispose(); thicknessHandle = null; } if (thickness2Handle != null) { thickness2Handle.Dispose(); thickness2Handle = null; } if (actualThicknessHandle != null) { actualThicknessHandle.Dispose(); actualThicknessHandle = null; } }
public void Dispose() { _drawable.Dispose(); RenderContext.Dispose(); }