ParamTextureImage
from panda3d.core import ParamTextureImage
- class ParamTextureImage
Bases:
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
- __init__(tex: Texture, read: bool, write: bool, z: int, n: int)
Creates a new
ParamTextureImage
storing the given texture and image binding parameters.
- property bind_layer int
Returns the image layer that should be bound. This is undefined if
get_bind_layered()
returns false.
- get_bind_layer() int
Returns the image layer that should be bound. This is undefined if
get_bind_layered()
returns false.
- static get_class_type() TypeHandle