85 BoundingBox boundingBox; |
86 BoundingBox boundingBox; |
86 const ldraw::ColorTable& colorTable; |
87 const ldraw::ColorTable& colorTable; |
87 struct |
88 struct |
88 { |
89 { |
89 QOpenGLShaderProgram* program = nullptr; |
90 QOpenGLShaderProgram* program = nullptr; |
|
91 QOpenGLShaderProgram* pickSceneProgram = nullptr; |
90 QOpenGLBuffer buffer{QOpenGLBuffer::VertexBuffer}; |
92 QOpenGLBuffer buffer{QOpenGLBuffer::VertexBuffer}; |
91 QOpenGLVertexArrayObject vertexArray; |
93 QOpenGLVertexArrayObject vertexArray; |
92 } glObjects[gl::NUM_ARRAY_CLASSES]; |
94 } glObjects[gl::NUM_ARRAY_CLASSES]; |
93 }; |
95 }; |
94 |
96 |