Add OnDispose() override for readonly wrapper
このコミットが含まれているのは:
1 親
095c715515
コミット
4fce0c1d2d
1ファイル変更
+8
@@ -68,6 +68,14 @@ partial class ReadWriteTexture2D<T, TPixel>
|
||||
goto GetWrapperAndReturnIfNotNull;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
protected override void OnDispose()
|
||||
{
|
||||
base.OnDispose();
|
||||
|
||||
this.readOnlyWrapper?.Dispose();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A wrapper for a <see cref="ReadWriteTexture2D{T, TPixel}"/> resource that has been temporarily transitioned to readonly.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする