コード例 #1
0
LineBucket::LineBucket(LineVertexBuffer &vertexBuffer_,
                       TriangleElementsBuffer &triangleElementsBuffer_,
                       PointElementsBuffer &pointElementsBuffer_)
    : vertexBuffer(vertexBuffer_),
      triangleElementsBuffer(triangleElementsBuffer_),
      pointElementsBuffer(pointElementsBuffer_),
      vertex_start(vertexBuffer_.index()),
      triangle_elements_start(triangleElementsBuffer_.index()),
      point_elements_start(pointElementsBuffer_.index()) {
}
コード例 #2
0
LineBucket::LineBucket(LineVertexBuffer& vertexBuffer,
                       TriangleElementsBuffer& triangleElementsBuffer,
                       PointElementsBuffer& pointElementsBuffer,
                       const BucketLineDescription& properties)
    : properties(properties),
      vertexBuffer(vertexBuffer),
      triangleElementsBuffer(triangleElementsBuffer),
      pointElementsBuffer(pointElementsBuffer),
      vertex_start(vertexBuffer.index()),
      triangle_elements_start(triangleElementsBuffer.index()),
      point_elements_start(pointElementsBuffer.index())
{
}
コード例 #3
0
LineBucket::LineBucket(LineVertexBuffer& vertexBuffer,
                       TriangleElementsBuffer& triangleElementsBuffer,
                       PointElementsBuffer& pointElementsBuffer,
                       const BucketDescription& bucket_desc)
    : geometry(bucket_desc.geometry),
      vertexBuffer(vertexBuffer),
      triangleElementsBuffer(triangleElementsBuffer),
      pointElementsBuffer(pointElementsBuffer),
      vertex_start(vertexBuffer.index()),
      triangle_elements_start(triangleElementsBuffer.index()),
      point_elements_start(pointElementsBuffer.index())
{
}
コード例 #4
0
LineBucket::LineBucket(LineVertexBuffer& vertexBuffer_,
                       TriangleElementsBuffer& triangleElementsBuffer_,
                       PointElementsBuffer& pointElementsBuffer_,
                       const StyleBucketLine& properties_)
    : properties(properties_),
      vertexBuffer(vertexBuffer_),
      triangleElementsBuffer(triangleElementsBuffer_),
      pointElementsBuffer(pointElementsBuffer_),
      vertex_start(vertexBuffer_.index()),
      triangle_elements_start(triangleElementsBuffer_.index()),
      point_elements_start(pointElementsBuffer_.index())
{
}