neuray API Programmer's Manual

mi::neuraylib::IValue_texture Class Reference

[MDL type system]

Description

A texture value.

Public Member Functions

virtual Float32 get_gamma() const =0
Returns the gamma value of this texture. More...
virtual const char* get_selector() const =0
Returns the selector of this texture, or NULL.
virtual const IType_textureget_type() const =0
Returns the type of this value.

Static Public Variables

static const Kind s_kind = VK_TEXTURE
The kind of this subclass.

Member Functions

virtual Float32 mi::​neuraylib::​IValue_texture::get_gamma() const [pure virtual]

Returns the gamma value of this texture.

Note:

: A gamma value of 0 corresponds to the default gamma value for the given texture kind.

virtual const char* mi::​neuraylib::​IValue_texture::get_selector() const [pure virtual]

Returns the selector of this texture, or NULL.

virtual const IType_texture* mi::​neuraylib::​IValue_texture::get_type() const [pure virtual]

Returns the type of this value.

Variables

const Kind mi::​neuraylib::​IValue_texture::s_kind = VK_TEXTURE [static]

The kind of this subclass.