i understand what the QueryInterface method actually does- it only returns a pointer to a specific interface. But my question is, why would i want to use this method?
I mean, what is the difference between
QueryInterface(__uuidof(IDXGIResource), (void**)&Resource)
and
IDXGIResource * Resource
aren't these pretty much the same? if so, why would i even need to use the method? For what reasons should i use it?