Panda3D
Functions
texture.I File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

Go to the source code of this file.

Functions

 PT (Texture) Texture
 Returns a new copy of the same Texture. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
1999-02-05
Author
fperazzi, PandaSE
Date
2010-04-29

Definition in file texture.I.

Function Documentation

◆ PT()

PT ( Texture  )
inline

Returns a new copy of the same Texture.

This copy, if applied to geometry, will be copied into texture as a separate texture from the original, so it will be duplicated in texture memory (and may be independently modified if desired).

If the Texture is a VideoTexture, the resulting duplicate may be animated independently of the original. Reinitializes the texture to its default, empty state (except for the name).

Definition at line 25 of file texture.I.