open_toontown_panda3d/panda/src/sgattrib/textureApplyTransition.I

47 lines
1.5 KiB
Plaintext

// Filename: textureApplyTransition.I
// Created by: drose (23Mar00)
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: TextureApplyTransition::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE TextureApplyTransition::
TextureApplyTransition(TextureApplyProperty::Mode mode) :
_value(mode)
{
}
////////////////////////////////////////////////////////////////////
// Function: TextureApplyTransition::Constructor
// Access: Protected
// Description:
////////////////////////////////////////////////////////////////////
INLINE TextureApplyTransition::
TextureApplyTransition(void)
{
}
////////////////////////////////////////////////////////////////////
// Function: TextureApplyTransition::set_mode
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void TextureApplyTransition::
set_mode(TextureApplyProperty::Mode mode) {
_value.set_mode(mode);
state_changed();
}
////////////////////////////////////////////////////////////////////
// Function: TextureApplyTransition::get_mode
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE TextureApplyProperty::Mode TextureApplyTransition::
get_mode() const {
return _value.get_mode();
}