ParamTextureImage

from panda3d.core import ParamTextureImage
class ParamTextureImage

Bases: ParamValueBase

A class object for storing a pointer to a Texture along with a set of properties that indicates which image to bind to a shader input.

This class is useful for binding texture images to a shader, which is a fairly esoteric feature.

Inheritance diagram

Inheritance diagram of ParamTextureImage

__init__(*args, **kwargs)
bind_layer
bind_level
getBindLayer()

C++ Interface: get_bind_layer(ParamTextureImage self)

/**
  • Returns the image layer that should be bound. This is undefined if

  • get_bind_layered() returns false.

*/

getBindLayered()

C++ Interface: get_bind_layered(ParamTextureImage self)

/**
  • Returns true if all layers of this image should be bound simultaneously.

*/

getBindLevel()

C++ Interface: get_bind_level(ParamTextureImage self)

/**
  • Returns the image level that should be bound.

*/

getClassType()

C++ Interface: get_class_type()

getTexture()

C++ Interface: get_texture(ParamTextureImage self)

/**
  • Retrieves the texture stored in the parameter.

*/

get_bind_layer()

C++ Interface: get_bind_layer(ParamTextureImage self)

/**
  • Returns the image layer that should be bound. This is undefined if

  • get_bind_layered() returns false.

*/

get_bind_layered()

C++ Interface: get_bind_layered(ParamTextureImage self)

/**
  • Returns true if all layers of this image should be bound simultaneously.

*/

get_bind_level()

C++ Interface: get_bind_level(ParamTextureImage self)

/**
  • Returns the image level that should be bound.

*/

get_class_type()

C++ Interface: get_class_type()

get_texture()

C++ Interface: get_texture(ParamTextureImage self)

/**
  • Retrieves the texture stored in the parameter.

*/

hasReadAccess()

C++ Interface: has_read_access(ParamTextureImage self)

/**
  • Returns true if this image should be bound with read access enabled.

*/

hasWriteAccess()

C++ Interface: has_write_access(ParamTextureImage self)

/**
  • Returns true if this image should be bound with write access enabled.

*/

has_read_access()

C++ Interface: has_read_access(ParamTextureImage self)

/**
  • Returns true if this image should be bound with read access enabled.

*/

has_write_access()

C++ Interface: has_write_access(ParamTextureImage self)

/**
  • Returns true if this image should be bound with write access enabled.

*/

read_access
texture
write_access