Пример #1
0
        public void Dispose()
        {
            backbufferTexture.Dispose();
            backbufferRTV.Dispose();

            sceneTexture.Dispose();
            sceneRTV.Dispose();
            sceneSRV.Dispose();

            depthDSV.Dispose();
            depthSRV.Dispose();

            depthStencilState.Dispose();
            rasterizerState.Dispose();

            constantBuffer.Dispose();
            mainVertexShader.Dispose();
            mainPixelShader.Dispose();

            trianglePositionVertexBuffer.Dispose();
            triangleIndexBuffer.Dispose();

            inputLayout.Dispose();

            postEffect.Dispose();
        }
Пример #2
0
        public void Dispose()
        {
            backbufferTexture.Dispose();
            backbufferRTV.Dispose();
            depthDSV.Dispose();

            depthStencilState.Dispose();
            rasterizerState.Dispose();
            blendState.Dispose();

            constantBuffer.Dispose();
            vertexShader.Dispose();
            pixelShader.Dispose();

            trianglePositionVertexBuffer.Dispose();
            triangleColorVertexBuffer.Dispose();
            #if RENDER_CUBE
            triangleIndexBuffer.Dispose();
            #endif

            softwareRasterizer.Dispose();

            inputLayout.Dispose();
        }
Пример #3
0
 public void Dispose()
 {
     Wire.Dispose();
     None.Dispose();
     Back.Dispose();
 }
Пример #4
0
 public void Dispose()
 {
     _deviceState.Dispose();
 }