mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
remove 'deprecated' comments
This commit is contained in:
parent
5910b103d9
commit
4854ec070c
@ -53,9 +53,11 @@ TextureAttrib(const TextureAttrib ©) :
|
||||
// TextureAttrib, indicating that it should disable
|
||||
// texturing.
|
||||
//
|
||||
// This method is deprecated, and is provided for
|
||||
// backward compatibility; you should use the
|
||||
// multitexture form of this instead.
|
||||
// If multitexture is in effect, a TextureAttrib may not
|
||||
// be strictly "on" or "off"; therefore, to get a more
|
||||
// precise answer to this question, you should consider
|
||||
// using has_all_off() or get_num_off_stages() or
|
||||
// has_off_stage() instead.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE bool TextureAttrib::
|
||||
is_off() const {
|
||||
|
@ -48,11 +48,8 @@ public:
|
||||
// Function: TextureAttrib::make
|
||||
// Access: Published, Static
|
||||
// Description: Constructs a new TextureAttrib object suitable for
|
||||
// rendering the indicated texture onto geometry.
|
||||
//
|
||||
// This method is deprecated, and is provided for
|
||||
// backward compatibility; you should use the
|
||||
// multitexture form of this instead.
|
||||
// rendering the indicated texture onto geometry, using
|
||||
// the default TextureStage.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
CPT(RenderAttrib) TextureAttrib::
|
||||
make(Texture *texture) {
|
||||
@ -64,10 +61,6 @@ make(Texture *texture) {
|
||||
// Access: Published, Static
|
||||
// Description: Constructs a new TextureAttrib object suitable for
|
||||
// rendering untextured geometry.
|
||||
//
|
||||
// This method is deprecated, and is provided for
|
||||
// backward compatibility; you should use the
|
||||
// multitexture form of this instead.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
CPT(RenderAttrib) TextureAttrib::
|
||||
make_off() {
|
||||
|
@ -41,9 +41,8 @@ protected:
|
||||
INLINE TextureAttrib(const TextureAttrib ©);
|
||||
|
||||
PUBLISHED:
|
||||
// These methods are deprecated, but they remain for now, for
|
||||
// backward compatibility. They treat the TextureAttrib as a
|
||||
// single-texture application.
|
||||
// These methods are used to create a simple, single-textured layer.
|
||||
// For multitexture, use the multitexture interfaces, further below.
|
||||
static CPT(RenderAttrib) make(Texture *tex);
|
||||
static CPT(RenderAttrib) make_off();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user