Mtrl shader resource editing, ShPk editing

This commit is contained in:
Exter-N 2023-02-15 02:07:10 +01:00 committed by Ottermandias
parent 7ee80c7d48
commit 0c17892f03
12 changed files with 2535 additions and 63 deletions

View file

@ -77,7 +77,8 @@ public partial class MtrlFile
foreach( var constant in ShaderPackage.Constants )
{
w.Write( constant.Id );
w.Write( constant.Value );
w.Write( constant.ByteOffset );
w.Write( constant.ByteSize );
}
foreach( var sampler in ShaderPackage.Samplers )