neuray API Programmer's Manual

mi::neuraylib::IType_texture Class Reference

[MDL type system]

Description

The type of kind texture.

Public Enumerations

enum Shape{ TS_2D = 0, TS_3D = 1, TS_CUBE = 2, TS_PTEX = 3, TS_BSDF_DATA = 4, TS_FORCE_32_BIT = 0xffffffffU}
The possible texture shapes.

Public Member Functions

virtual Shape get_shape() const =0
Returns the texture type.

Static Public Variables

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

Enums

enum mi::​neuraylib::​IType_texture::Shape

The possible texture shapes.

Enumerator:

TS_2D = 0
Two-dimensional texture.
TS_3D = 1
Three-dimensional texture.
TS_CUBE = 2
Cube map texture.
TS_PTEX = 3
PTEX texture.
TS_BSDF_DATA = 4
Three-dimensional texture representing a BSDF data table.
TS_FORCE_32_BIT = 0xffffffffU

Member Functions

virtual Shape mi::​neuraylib::​IType_texture::get_shape() const [pure virtual]

Returns the texture type.

Variables

const Kind mi::​neuraylib::​IType_texture::s_kind = TK_TEXTURE [static]

The kind of this subclass.