I'm new to directX and I'm reading a book where the author talks about "Calling conventions", and it's quite obscure to me even with the doc. Could you explain to me why in functions like
void XMStoreFloat2(XMFLOAT* dest, FXMVECTOR V);
...we don't pass the XMVECTOR as a reference or a pointer ? And why are we using alias like FXMVECTOR, GXMVECTOR, or CXMMATRIX ? And why is there an order of "input parameters", and why we always need to return a pointer and a reference of XMVECTOR ?
I understood that there is a link with the "Single Instruction Multiple Datas" way of computing instructions in the CPU but I dont cleary understand what the link is.
Thanks in advance.