added construct(VAType,count) function in ShaderVariableType

This commit is contained in:
hyzboy 2024-06-18 01:31:54 +08:00
parent 686372b60f
commit 4251493415

View File

@ -91,6 +91,11 @@ namespace hgl
svt_code=svt.svt_code; svt_code=svt.svt_code;
} }
ShaderVariableType(const VAType &vat,const uint count)
{
From(vat,count);
}
ShaderVariableType(const VABaseType &vabt,const uint32 count) ShaderVariableType(const VABaseType &vabt,const uint32 count)
{ {
svt_code=0; svt_code=0;