fill in the validated variables

This commit is contained in:
AzaezelX 2025-03-09 11:53:23 -05:00
parent fa760fa746
commit f633ef3a3d
184 changed files with 1359 additions and 1216 deletions

View file

@ -82,7 +82,7 @@ CustomMaterial::CustomMaterial()
void CustomMaterial::initPersistFields()
{
docsURL;
addField("version", TypeF32, Offset(mVersion, CustomMaterial),
addFieldV("version", TypeRangedF32, Offset(mVersion, CustomMaterial), &CommonValidators::PositiveFloat,
"@brief Specifies pixel shader version for hardware.\n\n"
"Valid pixel shader versions include 2.0, 3.0, etc. "
"@note All features aren't compatible with all pixel shader versions.");