ParamTextureSampler

from panda3d.core import ParamTextureSampler
class ParamTextureSampler

Bases: ParamValueBase

A class object for storing a pointer to a Texture along with a sampler state that indicates how to to sample the given texture.

Inheritance diagram

Inheritance diagram of ParamTextureSampler

__init__(tex: Texture, sampler: SamplerState)

Creates a new ParamTextureSampler storing the given texture and sampler objects.

static getClassType()TypeHandle
getSampler()SamplerState

Retrieves the sampler state stored in the parameter.

getTexture()Texture

Retrieves the texture stored in the parameter.

property samplerSamplerState

Retrieves the sampler state stored in the parameter.

property textureTexture

Retrieves the texture stored in the parameter.