MCPcopy Create free account

hub / github.com/Permafacture/data-oriented-pyglet / functions

Functions127 in github.com/Permafacture/data-oriented-pyglet

Methodattribute_setter_factory
generate a setter using this object's index to the domain arrays attr is the domain's list of this attribute
numpy_ecs/accessors.py:104
Functionbuild_references
returns {component_name: slice or None, ...} for guid
numpy_ecs/accessors.py:31
Methodcolumn_names
(self)
numpy_ecs/table.py:114
Methodconvert_to_component_array
converts value to a numpy array with appropriate shape for component
numpy_ecs/global_allocator.py:160
Methodgetter
(accessor, name=component_name, comp_dict=comp_dict)
numpy_ecs/accessors.py:97
Methodguid_slices
returns a dictionary of {component: slice object,} representing the array slices that relate to the guid
numpy_ecs/table.py:213
Methodguids
(self)
numpy_ecs/global_allocator.py:129
Methodin_mask
(item_tuple,mask=mask_tuple)
numpy_ecs/table.py:271
Methodnext_guid
(self)
numpy_ecs/global_allocator.py:124
Functionon_draw
()
examples/second.py:183
Functionon_draw
()
examples/hero1.py:256
Functionon_draw
()
examples/color_change_test.py:289
Functionon_draw
()
examples/first.py:141
Functionon_draw
()
examples/animated_test.py:200
Functionon_draw
()
examples/polygons.py:221
Functionon_draw
()
examples/add-delete.py:231
Functionon_key_press
(symbol, modifiers)
examples/hero1.py:230
Functionon_key_release
(symbol, modifiers)
examples/hero1.py:242
Methodrealloc
(self,old_selector,new_selector)
numpy_ecs/components.py:68
Methodsafe_len
(item)
numpy_ecs/global_allocator.py:193
Methodselectors_from_component_query
takes: ['comp name 1', 'comp name 3', ...] #list tuple or set returns {'component name 1': component1[selector] ...} where selec
numpy_ecs/global_allocator.py:243
Methodsetter
(accessor, data, name=component_name,comp_dict=comp_dict)
numpy_ecs/accessors.py:108
Methodshow_sizes
(self)
numpy_ecs/table.py:476
Methodshow_starts
(self)
numpy_ecs/table.py:487
Methodto_indices
(string, c_names = names, sep = INDEX_SEPERATOR)
numpy_ecs/table.py:263
Methodupdate_colors
(self)
examples/first.py:126
Functionverify_component_schema
given an allocation schema as a list of lists, return True if the schema keeps all Component arrays contiguous. Else return False
numpy_ecs/global_allocator.py:80
← previous101–127 of 127, ranked by callers