Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Permafacture/data-oriented-pyglet
/ functions
Functions
127 in github.com/Permafacture/data-oriented-pyglet
⨍
Functions
127
◇
Types & classes
8
Method
attribute_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
Function
build_references
returns {component_name: slice or None, ...} for guid
numpy_ecs/accessors.py:31
Method
column_names
(self)
numpy_ecs/table.py:114
Method
convert_to_component_array
converts value to a numpy array with appropriate shape for component
numpy_ecs/global_allocator.py:160
Method
getter
(accessor, name=component_name, comp_dict=comp_dict)
numpy_ecs/accessors.py:97
Method
guid_slices
returns a dictionary of {component: slice object,} representing the array slices that relate to the guid
numpy_ecs/table.py:213
Method
guids
(self)
numpy_ecs/global_allocator.py:129
Method
in_mask
(item_tuple,mask=mask_tuple)
numpy_ecs/table.py:271
Method
next_guid
(self)
numpy_ecs/global_allocator.py:124
Function
on_draw
()
examples/second.py:183
Function
on_draw
()
examples/hero1.py:256
Function
on_draw
()
examples/color_change_test.py:289
Function
on_draw
()
examples/first.py:141
Function
on_draw
()
examples/animated_test.py:200
Function
on_draw
()
examples/polygons.py:221
Function
on_draw
()
examples/add-delete.py:231
Function
on_key_press
(symbol, modifiers)
examples/hero1.py:230
Function
on_key_release
(symbol, modifiers)
examples/hero1.py:242
Method
realloc
(self,old_selector,new_selector)
numpy_ecs/components.py:68
Method
safe_len
(item)
numpy_ecs/global_allocator.py:193
Method
selectors_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
Method
setter
(accessor, data, name=component_name,comp_dict=comp_dict)
numpy_ecs/accessors.py:108
Method
show_sizes
(self)
numpy_ecs/table.py:476
Method
show_starts
(self)
numpy_ecs/table.py:487
Method
to_indices
(string, c_names = names, sep = INDEX_SEPERATOR)
numpy_ecs/table.py:263
Method
update_colors
(self)
examples/first.py:126
Function
verify_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
← previous
101–127 of 127, ranked by callers