Introduce VULKAN_HPP_ASSERT, to allow custom assert. (#175)
This commit is contained in:
committed by
Markus Tavenrath
parent
e97e34675d
commit
07b4e69c9d
@@ -319,6 +319,10 @@ Sometimes it is required to use `std::vector` with custom allocators. Vulkan-Hpp
|
||||
std::vector<LayerProperties, MyCustomAllocator> properties = physicalDevice.enumerateDeviceLayerProperties<MyCustomAllocator>();
|
||||
```
|
||||
|
||||
### Custom assertions
|
||||
|
||||
All over vulkan.hpp, there are a couple of calls to an assert function. By defining VULKAN_HPP_ASSERT, you can specifiy your own custom assert function to be called instead.
|
||||
|
||||
## See Also
|
||||
|
||||
Feel free to submit a PR to add to this list.
|
||||
|
||||
Reference in New Issue
Block a user