Fixed VertexDeclaration copy constructor
Former-commit-id: 54bd378364c987c975ca2e83187b3559f4b9d92c
This commit is contained in:
parent
ca54b6cdca
commit
27aea8ae2a
|
|
@ -17,15 +17,13 @@ class NzVertexDeclaration;
|
||||||
using NzVertexDeclarationConstRef = NzResourceRef<const NzVertexDeclaration>;
|
using NzVertexDeclarationConstRef = NzResourceRef<const NzVertexDeclaration>;
|
||||||
using NzVertexDeclarationRef = NzResourceRef<NzVertexDeclaration>;
|
using NzVertexDeclarationRef = NzResourceRef<NzVertexDeclaration>;
|
||||||
|
|
||||||
struct NzVertexDeclarationImpl;
|
|
||||||
|
|
||||||
class NAZARA_API NzVertexDeclaration : public NzResource
|
class NAZARA_API NzVertexDeclaration : public NzResource
|
||||||
{
|
{
|
||||||
friend class NzUtility;
|
friend class NzUtility;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
NzVertexDeclaration();
|
NzVertexDeclaration();
|
||||||
NzVertexDeclaration(NzVertexDeclaration& declaration);
|
NzVertexDeclaration(const NzVertexDeclaration& declaration);
|
||||||
~NzVertexDeclaration();
|
~NzVertexDeclaration();
|
||||||
|
|
||||||
void DisableComponent(nzVertexComponent component);
|
void DisableComponent(nzVertexComponent component);
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ m_stride(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
NzVertexDeclaration::NzVertexDeclaration(NzVertexDeclaration& declaration) :
|
NzVertexDeclaration::NzVertexDeclaration(const NzVertexDeclaration& declaration) :
|
||||||
NzResource(),
|
NzResource(),
|
||||||
m_stride(declaration.m_stride)
|
m_stride(declaration.m_stride)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue