use VIL instead of MI in to sort for RenderNode
This commit is contained in:
parent
69646971ce
commit
ddb5a0b77a
@ -34,10 +34,10 @@ int Comparator<hgl::graph::RenderNode>::compare(const hgl::graph::RenderNode &ob
|
|||||||
return off;
|
return off;
|
||||||
}
|
}
|
||||||
|
|
||||||
//比较材质实例
|
//比较顶点输入格式
|
||||||
{
|
{
|
||||||
off=ri_one->GetMaterialInstance()
|
off=ri_one->GetMaterialInstance()->GetVIL()
|
||||||
-ri_two->GetMaterialInstance();
|
-ri_two->GetMaterialInstance()->GetVIL();
|
||||||
|
|
||||||
if(off)
|
if(off)
|
||||||
return off;
|
return off;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user