Removed extra back tick. (#94)

This commit is contained in:
Dylan McGannon 2017-03-21 05:18:08 +11:00 committed by Markus Tavenrath
parent 7b37d72dd3
commit 93fca3b8d9

View File

@ -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 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. 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 // C
ImageSubResource subResource; ImageSubResource subResource;
subResource.aspectMask = 0; subResource.aspectMask = 0;