public void Detach() { _vertexArray.Dispose(); _texture.Dispose(); _shader.Dispose(); }
public void Dispose() { vao?.Dispose(); }
public override void OnUnload() { vao.Dispose(); normals_shader.Dispose(); }