File: __init__.py

package info (click to toggle)
python-vispy 0.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 8,840 kB
  • sloc: python: 59,436; javascript: 6,800; makefile: 69; sh: 6
file content (30 lines) | stat: -rw-r--r-- 1,127 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) Vispy Development Team. All Rights Reserved.
# Distributed under the (new) BSD License. See LICENSE.txt for more info.
# -----------------------------------------------------------------------------
"""
Collections allow batch rendering of object of the same type:

 - Points
 - Line segments
 - Polylines (paths)
 - Raw Triangles
 - Polygons

Each collection has several modes:

 - raw (point, segment, path, triangle, polygon)
 - agg (point, segment, path, polygon)
 - agg+ (path, polygon)

Note: Storage of shared attributes requires non-clamped textures which is not
      the case on all graphic cards. This means such shared attributes must be
      normalized on CPU and scales back on GPU (in shader code).
"""

from . path_collection import PathCollection  # noqa
from . point_collection import PointCollection  # noqa
from . polygon_collection import PolygonCollection  # noqa
from . segment_collection import SegmentCollection  # noqa
from . triangle_collection import TriangleCollection  # noqa