logo
  • Installation
  • Getting Started
  • Documentation
  • Gallery
  • API
  • News
  • vispy package
On this page
  • Submodules
  • Module contents
Edit this page

vispy.visuals.collections package¶

Submodules¶

  • vispy.visuals.collections.agg_fast_path_collection module
  • vispy.visuals.collections.agg_path_collection module
  • vispy.visuals.collections.agg_point_collection module
  • vispy.visuals.collections.agg_segment_collection module
  • vispy.visuals.collections.array_list module
    • Example
    • Example
  • vispy.visuals.collections.base_collection module
  • vispy.visuals.collections.collection module
  • vispy.visuals.collections.path_collection module
  • vispy.visuals.collections.point_collection module
  • vispy.visuals.collections.polygon_collection module
  • vispy.visuals.collections.raw_path_collection module
  • vispy.visuals.collections.raw_point_collection module
  • vispy.visuals.collections.raw_polygon_collection module
  • vispy.visuals.collections.raw_segment_collection module
  • vispy.visuals.collections.raw_triangle_collection module
  • vispy.visuals.collections.segment_collection module
  • vispy.visuals.collections.triangle_collection module
  • vispy.visuals.collections.util module

Module contents¶

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).

vispy.visuals package vispy.visuals.collections.agg_fast_path_collection module

© Copyright 2013-2021, VisPy developers.
Created using Sphinx 3.3.0.