add MinLOD MaxLOD and LODBias to Texture and its serializer
as well as ShadowTextureMode None enum
This commit is contained in:
parent
020bff3ab1
commit
8894939577
@ -249,6 +249,7 @@ REGISTER_OBJECT_WRAPPER( Texture,
|
|||||||
ADD_ENUM_VALUE( LUMINANCE );
|
ADD_ENUM_VALUE( LUMINANCE );
|
||||||
ADD_ENUM_VALUE( INTENSITY );
|
ADD_ENUM_VALUE( INTENSITY );
|
||||||
ADD_ENUM_VALUE( ALPHA );
|
ADD_ENUM_VALUE( ALPHA );
|
||||||
|
ADD_ENUM_VALUE( NONE );
|
||||||
END_ENUM_SERIALIZER(); // _shadow_texture_mode
|
END_ENUM_SERIALIZER(); // _shadow_texture_mode
|
||||||
|
|
||||||
ADD_FLOAT_SERIALIZER( ShadowAmbient, 0.0f ); // _shadow_ambient
|
ADD_FLOAT_SERIALIZER( ShadowAmbient, 0.0f ); // _shadow_ambient
|
||||||
@ -265,4 +266,10 @@ REGISTER_OBJECT_WRAPPER( Texture,
|
|||||||
UPDATE_TO_VERSION_SCOPED( 98 )
|
UPDATE_TO_VERSION_SCOPED( 98 )
|
||||||
ADD_USER_SERIALIZER( Swizzle ); // _swizzle
|
ADD_USER_SERIALIZER( Swizzle ); // _swizzle
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
UPDATE_TO_VERSION_SCOPED( 155 )
|
||||||
|
ADD_FLOAT_SERIALIZER( MinLOD, 0.0f );
|
||||||
|
ADD_FLOAT_SERIALIZER( MaxLOD, -1.0f );
|
||||||
|
ADD_FLOAT_SERIALIZER( LODBias, 0.0f );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user