All vertex attributes now present in DX shaders

This commit is contained in:
2015-10-19 13:53:12 +02:00
parent e195e69408
commit d423239320
8 changed files with 33 additions and 12 deletions
+7
View File
@@ -28,6 +28,7 @@ namespace dd
{
class Model;
class Skeleton;
class Texture;
class RenderQueue;
@@ -63,6 +64,12 @@ struct ModelJob : RenderJob
unsigned int StartIndex = 0;
unsigned int EndIndex = 0;
// Animation
dd::Skeleton* Skeleton = nullptr;
bool NoRootMotion = true;
std::string AnimationName;
double AnimationTime = 0;
void CalculateHash() override
{
Hash = TextureID;