Example #1
0
 void IDisposable.Dispose()
 {
     textureVariable?.Dispose();
     bindings?.Dispose();
     pipelineState?.Dispose();
     constantBuffer?.Dispose();
 }
Example #2
0
 public void Dispose()
 {
     textureVariable?.Dispose();
     binding?.Dispose();
     pipelineState?.Dispose();
     ComUtils.clear(ref vertexBuffer);
 }
Example #3
0
        void IDisposable.Dispose()
        {
            textureVariableRgb?.Dispose();
            bindingsRgb?.Dispose();
            psoRgb?.Dispose();

            textureVariableInvert?.Dispose();
            bindingsInvert?.Dispose();
            psoInvert?.Dispose();

            constantBuffer?.Dispose();
        }