Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# VideoTexture Class Reference

The base class for a family of animated Textures that take their input from a video source, such as a movie file. More...

Inheritance diagram for VideoTexture:

List of all members.

## Public Member Functions
bool | getKeepRamImage ()
| Returns the flag that indicates whether this Texture is eligible to have its main RAM copy of the texture memory dumped when the texture is prepared for rendering.
int | getVideoHeight ()
| Returns the height in texels of the source video stream.
int | getVideoWidth ()
| Returns the width in texels of the source video stream.
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

The base class for a family of animated Textures that take their input from a video source, such as a movie file.

These Textures may be stopped, started, etc. using the AnimInterface controls, similar to an animated character.

## Member Function Documentation

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from AnimInterface.

bool getKeepRamImage | ( |  | ) |

Returns the flag that indicates whether this Texture is eligible to have its main RAM copy of the texture memory dumped when the texture is prepared for rendering.

See set_keep_ram_image().

Reimplemented from Texture.

int getVideoHeight | ( |  | ) |

Returns the height in texels of the source video stream.

This is not necessarily the height of the actual texture, since the texture may have been expanded to raise it to a power of 2.

int getVideoWidth | ( |  | ) |

Returns the width in texels of the source video stream.

This is not necessarily the width of the actual texture, since the texture may have been expanded to raise it to a power of 2.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties