зеркало из https://github.com/microsoft/DirectXTK.git
Updated Implementation (markdown)
Родитель
1c00252b6d
Коммит
f3cf3e9e9f
|
@ -33,10 +33,6 @@ DirectXTK's implementation makes extensive use of the [pImpl idiom](http://en.wi
|
||||||
class Impl;
|
class Impl;
|
||||||
|
|
||||||
std::unique_ptr<Impl> pImpl;
|
std::unique_ptr<Impl> pImpl;
|
||||||
|
|
||||||
// Prevent copying.
|
|
||||||
SpriteBatch(SpriteBatch const&) DIRECTX_CTOR_DELETE
|
|
||||||
SpriteBatch& operator= (SpriteBatch const&) DIRECTX_CTOR_DELETE
|
|
||||||
};
|
};
|
||||||
|
|
||||||
This also allows use to allocate the pImpl class internally using ``_aligned_malloc(x,16);`` so that we can use the DIrectXMath aligned ``XMVECTOR`` and ``XMMATRIX`` types directly in the implementation across all architectures.
|
This also allows use to allocate the pImpl class internally using ``_aligned_malloc(x,16);`` so that we can use the DIrectXMath aligned ``XMVECTOR`` and ``XMMATRIX`` types directly in the implementation across all architectures.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче