Skip to content
/ pyvma Public

Python Wrapper for VulkanMemoryAllocator

License

Notifications You must be signed in to change notification settings

realitix/pyvma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyVMA

PyVMA is a wrapper for Vulkan Memory Allocator.

How to install

Pip

You can install directly pyvma with pip:

pip install pyvma

Manual install

You can install it manually if you want the latest version:

git clone https://github.com/realitix/pyvma
cd pyvma
python setup.py build
python setup.py install

How to use

PyVMA is designed as a plugin of the vulkan wrapper. It depends on it and installs it when you use pip. It follows the same conventions as vulkan wrapper.

How to update this wrapper

  • Update vk_mem_alloc.h
  • Run cpp -std=c99 -P -Iinclude -o cdef/vk_mem_alloc.cdef.h vk_mem_alloc.h
  • Remove first lines declaring basic types in vk_mem_alloc.cdef.h

About

Python Wrapper for VulkanMemoryAllocator

Resources

License

Stars

Watchers

Forks

Packages

No packages published