mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-10 04:18:48 -04:00
Removed extra back tick. (#94)
This commit is contained in:
parent
7b37d72dd3
commit
93fca3b8d9
@ -143,7 +143,7 @@ c.setScissor(0, vec);
|
||||
Vulkan-Hpp generates references for pointers to structs. This conversion allows passing temporary structs to functions which can result in shorter code. In case the input is optional and thus accepting a null pointer the parameter type will be
|
||||
a ```vk::Optional<T> const&``` type. This type accepts either a reference to ```T``` or nullptr as input and thus allows optional temporary structs.
|
||||
|
||||
````c++
|
||||
```c++
|
||||
// C
|
||||
ImageSubResource subResource;
|
||||
subResource.aspectMask = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user