summaryrefslogtreecommitdiff
path: root/platform/iphone/vulkan_context_iphone.mm
diff options
context:
space:
mode:
authorAndreaCatania <info@andreacatania.com>2021-08-14 09:00:58 +0200
committerAndreaCatania <info@andreacatania.com>2021-08-14 09:04:31 +0200
commitc81cb64416217df2de4032c818914fea0691e92c (patch)
tree1196042a1ea0ef65563257c0a6ccc35ec982b56e /platform/iphone/vulkan_context_iphone.mm
parentf32c042f3e14a2de2f2d416ff35b0a3c80785e33 (diff)
Add the possibility to initialize the classes allocated with the PagedAllocator
It uses the (`const T &&... p_args`) forward reference, to avoid copying the memory in case it's an rvalue, or pass a reference in case it's an lvalue. This is an example: ```c++ PagedAllocator<btShapeBox> box_allocator; btShapeBox* box = box_allocator.alloc( btVector3(1.0, 1.0, 1.0) ); ```
Diffstat (limited to 'platform/iphone/vulkan_context_iphone.mm')
0 files changed, 0 insertions, 0 deletions