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

ParamTextureSampler(Texture *tex, SamplerState const &sampler)

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

static TypeHandle get_class_type(void)
SamplerState const &get_sampler(void) const

Retrieves the sampler state stored in the parameter.

Texture *get_texture(void) const

Retrieves the texture stored in the parameter.