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