Add various @since tags to methods that are new in 1.10.4

This commit is contained in:
rdb 2019-08-17 13:49:47 +02:00
parent ee96742973
commit 1e846709d3
3 changed files with 6 additions and 0 deletions

View File

@ -3139,6 +3139,8 @@ get_texture(TextureStage *stage) const {
/**
* Recursively searches the scene graph for references to the given texture,
* and replaces them with the new texture.
*
* @since 1.10.4
*/
void NodePath::
replace_texture(Texture *tex, Texture *new_tex) {

View File

@ -24,6 +24,8 @@
* This defines a Python-based loader plug-in. An instance of this can be
* constructed by inheritance and explicitly registered, or it can be created
* by passing in a pkg_resources.EntryPoint instance.
*
* @since 1.10.4
*/
class PythonLoaderFileType : public LoaderFileType {
public:

View File

@ -240,6 +240,8 @@ unify_texture_stages(TextureStage *stage) const {
/**
* Returns a new TextureAttrib, just like this one, but with all references to
* the given texture replaced with the new texture.
*
* @since 1.10.4
*/
CPT(RenderAttrib) TextureAttrib::
replace_texture(Texture *tex, Texture *new_tex) const {