Axiom.RenderSystems.OpenGL.GLSL.GLSLProgram.UnloadImpl C# (CSharp) Method

UnloadImpl() protected method

protected UnloadImpl ( ) : void
return void
		protected override void UnloadImpl()
		{
            // just clearing the reference here
            assemblerProgram = null;

			if ( IsSupported )
			{
				// only delete it if it was supported to being with, else it won't exist
                Gl.glDeleteObjectARB(GLHandle);
			}
		}