Direct3D11 Engine/source changes

This commit is contained in:
rextimmy 2016-03-20 21:52:11 +10:00
parent 3a9b50f702
commit 41e5caf22b
81 changed files with 1291 additions and 617 deletions

View file

@ -167,6 +167,8 @@ protected:
mInstFormat = instFormat;
mDeclFormat.copy( *vertexFormat );
mDeclFormat.append( *mInstFormat, 1 );
// Let the declaration know we have instancing.
mDeclFormat.enableInstancing();
mDeclFormat.getDecl();
delete [] mBuffer;