panda3d.egg.EggTexture

class EggTexture

Bases: EggFilenameNode, EggRenderMode, EggTransform

Defines a texture map that may be applied to geometry.

Inheritance diagram

Inheritance diagram of EggTexture

__init__(copy: EggTexture) → None
__init__(tref_name: str, filename: Filename) → None
assign(copy: EggTexture) → EggTexture
Return type

EggTexture

write(out: ostream, indent_level: int) → None

Writes the texture definition to the indicated output stream in Egg format.

isEquivalentTo(other: EggTexture, eq: int) → bool

Returns true if the two textures are equivalent in all relevant properties (according to eq), false otherwise.

The Equivalence parameter, eq, should be set to the bitwise OR of the following properties, according to what you consider relevant:

EggTexture::E_basename: The basename part of the texture filename, without the directory prefix or the filename extension.

EggTexture::E_extension: The extension part of the texture filename.

EggTexture::E_dirname: The directory prefix of the texture filename.

EggTexture::E_complete_filename: The union of the above three; that is, the complete filename, with directory, basename, and extension.

EggTexture::E_transform: The texture matrix.

EggTexture::E_attributes: All remaining texture attributes (mode, mipmap, etc.) except TRef name.

EggTexture::E_tref_name: The TRef name.

sortsLessThan(other: EggTexture, eq: int) → bool

An ordering operator to compare two textures for sorting order. This imposes an arbitrary ordering useful to identify unique textures, according to the indicated Equivalence factor. See isEquivalentTo().

hasAlphaChannel(num_components: int) → bool

Given the number of color components (channels) in the image file as actually read from the disk, return true if this texture seems to have an alpha channel or not. This depends on the EggTexture’s format as well as the number of channels.

setTextureType(texture_type: TextureType) → None
getTextureType() → TextureType
Return type

TextureType

setFormat(format: Format) → None
getFormat() → Format
Return type

Format

setCompressionMode(mode: CompressionMode) → None
getCompressionMode() → CompressionMode
Return type

CompressionMode

setWrapMode(mode: WrapMode) → None
getWrapMode() → WrapMode
Return type

WrapMode

setWrapU(mode: WrapMode) → None
getWrapU() → WrapMode

Returns the amount specified for U wrap. This may be unspecified, even if there is an overall wrap value.

Return type

WrapMode

determineWrapU() → WrapMode

Determines the appropriate wrap in the U direction. This is different from getWrapU() in that if the U wrap is unspecified, it returns the overall wrap value.

Return type

WrapMode

setWrapV(mode: WrapMode) → None
getWrapV() → WrapMode

Returns the amount specified for V wrap. This may be unspecified, even if there is an overall wrap value.

Return type

WrapMode

determineWrapV() → WrapMode

Determines the appropriate wrap in the V direction. This is different from getWrapV() in that if the V wrap is unspecified, it returns the overall wrap value.

Return type

WrapMode

setWrapW(mode: WrapMode) → None
getWrapW() → WrapMode

Returns the amount specified for W wrap. This may be unspecified, even if there is an overall wrap value.

Return type

WrapMode

determineWrapW() → WrapMode

Determines the appropriate wrap in the W direction. This is different from getWrapW() in that if the W wrap is unspecified, it returns the overall wrap value.

Return type

WrapMode

setMinfilter(type: FilterType) → None
getMinfilter() → FilterType
Return type

FilterType

setMagfilter(type: FilterType) → None
getMagfilter() → FilterType
Return type

FilterType

setAnisotropicDegree(anisotropic_degree: int) → None

Sets the degree of anisotropic filtering for this texture. 1 is off; higher levels indicate filtering in effect.

clearAnisotropicDegree() → None

Removes the specification of anisotropic filtering from the texture.

hasAnisotropicDegree() → bool

Returns true if a value for the anisotropic filtering degree has been specified for this texture, false otherwise.

getAnisotropicDegree() → int

Returns the anisotropic filtering degree that has been specified for this texture, or 0 if nothing has been specified.

setEnvType(type: EnvType) → None
getEnvType() → EnvType
Return type

EnvType

affectsPolygonAlpha() → bool

Returns true if this texture’s environment type or combine mode allows the texture to have an effect on the polygon’s alpha values, false otherwise.

setCombineMode(channel: CombineChannel, cm: CombineMode) → None
getCombineMode(channel: CombineChannel) → CombineMode
Return type

CombineMode

setCombineSource(channel: CombineChannel, n: int, cs: CombineSource) → None
getCombineSource(channel: CombineChannel, n: int) → CombineSource
Return type

CombineSource

setCombineOperand(channel: CombineChannel, n: int, co: CombineOperand) → None
getCombineOperand(channel: CombineChannel, n: int) → CombineOperand
Return type

CombineOperand

setSavedResult(saved_result: bool) → None

Sets the saved_result flag. When this is true, the output of this stage is not part of the normal pipeline–that is, it will not be supplied as the “previous” source for the next texture stage–but it will instead be supplied as the “last_saved_result” source for any future stages, until the next TextureStage with a saved_result set true is encountered.

This can be used to reuse the results of this texture stage as input to more than one stage later in the pipeline.

The last texture in the pipeline (the one with the highest sort value) should not have this flag set.

getSavedResult() → bool

Returns the current setting of the saved_result flag. See setSavedResult().

setTexGen(tex_gen: TexGen) → None
getTexGen() → TexGen
Return type

TexGen

setQualityLevel(quality_level: QualityLevel) → None
getQualityLevel() → QualityLevel
Return type

QualityLevel

setStageName(stage_name: str) → None

Specifies the particular TextureStage this texture will be rendered on by name. If this is omitted, the texture will be rendered on the default TextureStage, unless some other stage-specific property is specificied, in which case the texture will be rendered on a TextureStage with the same name as the tref. This is in support of multitexturing.

Each different TextureStage in the world must be uniquely named.

clearStageName() → None

Removes the named TextureStage specification.

hasStageName() → bool

Returns true if a stage name has been explicitly specified for this texture, false otherwise.

getStageName() → str

Returns the stage name that has been specified for this texture, or the tref name if no texture stage has explicitly been specified.

setPriority(priority: int) → None

Sets the importance of this texture with respect to other textures also applied on the same geometry. This is only meaningful in the presence of multitexturing.

clearPriority() → None

Removes the specification of multitexture priority from the texture. The default priority value is 0.

hasPriority() → bool

Returns true if a priority value for multitexture importance has been specified for the texture, false otherwise.

getPriority() → int

Returns the multitexture importance value that has been specified for the texture, or 0 if no priority value has been specified.

setColor(color: LColor) → None
clearColor() → None
hasColor() → bool

Returns true if a blend color has been specified for the texture.

getColor() → LColor

Returns the blend color if one has been specified, or (0, 0, 0, 1) otherwise.

Return type

LColor

setBorderColor(border_color: LColor) → None
clearBorderColor() → None
hasBorderColor() → bool

Returns true if a border color has been specified for the texture.

getBorderColor() → LColor

Returns the border color if one has been specified, or (0, 0, 0, 1) otherwise.

Return type

LColor

setUvName(uv_name: str) → None

Specifies the named set of texture coordinates that this texture will use when it is applied to geometry. Geometry may have multiple sets of texture coordinates defined, by name.

If this is not specified for a particular texture, the default set of texture coordinates will be used.

clearUvName() → None

Removes the restriction to a particular named set of texture coordinates and restores the texture to using the default texture coordinates.

hasUvName() → bool

Returns true if a texcoord name has been explicitly specified for this texture, false otherwise.

getUvName() → str

Returns the texcoord name that has been specified for this texture, or the empty string if no texcoord name has explicitly been specified.

setRgbScale(rgb_scale: int) → None

Sets an additional factor that will scale all three r, g, b components after the texture has been applied. This is used only when a combine mode is in effect.

The only legal values are 1, 2, or 4.

clearRgbScale() → None

Removes the rgb_scale from the texture and restores it to the default value of 1.

hasRgbScale() → bool

Returns true if an rgb_scale has been specified for the texture, false otherwise.

getRgbScale() → int

Returns the rgb_scale value that has been specified for the texture, or 1 if no rgb_scale value has been specified.

setAlphaScale(alpha_scale: int) → None

Sets an additional factor that will scale the alpha component after the texture has been applied. This is used only when a combine mode is in effect.

The only legal values are 1, 2, or 4.

clearAlphaScale() → None

Removes the alpha_scale from the texture and restores it to the default value of 1.

hasAlphaScale() → bool

Returns true if an alpha_scale has been specified for the texture, false otherwise.

getAlphaScale() → int

Returns the alpha_scale value that has been specified for the texture, or 1 if no alpha_scale value has been specified.

setAlphaFilename(filename: Filename) → None

Specifies a separate file that will be loaded in with the 1- or 3-component texture and applied as the alpha channel. This is useful when loading textures from file formats that do not support alpha, for instance jpg.

clearAlphaFilename() → None
hasAlphaFilename() → bool

Returns true if a separate file for the alpha component has been applied, false otherwise. See setAlphaFilename().

getAlphaFilename() → Filename

Returns the separate file assigned for the alpha channel. It is an error to call this unless hasAlphaFilename() returns true. See setAlphaFilename().

Return type

Filename

setAlphaFullpath(fullpath: Filename) → None

Records the full pathname to the file, for the benefit of getAlphaFullpath().

getAlphaFullpath() → Filename

Returns the full pathname to the alpha file, if it is known; otherwise, returns the same thing as getAlphaFilename().

This function simply returns whatever was set by the last call to setAlphaFullpath(). This string is not written to the egg file; its main purpose is to record the full path to the alpha filename if it is known, for egg structures that are generated in-memory and then immediately converted to a scene graph.

Return type

Filename

setAlphaFileChannel(alpha_file_channel: int) → None

If a separate alpha-file is specified, this indicates which channel number should be extracted from this file to derive the alpha channel for the final image. The default is 0, which means the grayscale combination of r, g, b. Otherwise, this should be the 1-based channel number, for instance 1, 2, or 3 for r, g, or b, respectively, or 4 for the alpha channel of a four-component image.

clearAlphaFileChannel() → None

Removes the specification of a particular channel to use from the alpha- file image.

hasAlphaFileChannel() → bool

Returns true if a particular channel has been specified for the alpha-file image, false otherwise.

getAlphaFileChannel() → int

Returns the particular channel that has been specified for the alpha-file image, or 0 if no channel has been specified. See setAlphaFileChannel().

setMultiview(multiview: bool) → None

Sets the multiview flag.

If multiview is true, the filename should contain a hash mark (‘#’), which will be filled in with the view number; and a multiview texture will be defined with a series of images, one for each view.

A multiview texture is most often used for stereo textures, but other uses are also possible, such as for texture animation.

getMultiview() → bool

Returns the current setting of the multiview flag. See setMultiview().

setNumViews(num_views: int) → None

When loading a 3-D multiview texture, this parameter is necessary to specify how many views will be expected. The z size is determined implicitly from the number of images loaded.

clearNumViews() → None

Removes the specification of the number of views for a 3-D multiview texture.

hasNumViews() → bool

Returns true if the number of views has been specified for the 3-D multiview texture, false otherwise.

getNumViews() → int

Returns the specified number of views specified for the 3-D multiview texture. See setNumViews().

setReadMipmaps(read_mipmaps: bool) → None

Sets the read_mipmaps flag.

If read_mipmaps is true, the filename should contain a hash mark (‘#’), which will be filled in with the mipmap level number; and the texture will be defined with a series of images, one for each mipmap level.

If the filename is of a type that already requires a hash mark, such as a cube map or a 3-d texture, then the filename should now require two hash marks, and the first one indicates the mipmap level number, while the second indicates the face number or 3-d level number.

getReadMipmaps() → bool

Returns the current setting of the read_mipmaps flag. See setReadMipmaps().

setMinLod(min_lod: float) → None

Sets the minimum mipmap level that may be sampled.

clearMinLod() → None

Removes the specification of a minimum mipmap level from the texture.

hasMinLod() → bool

Returns true if a value for the minimum mipmap level has been specified for this texture, false otherwise.

getMinLod() → float

Returns the minimum mipmap level that has been specified for this texture.

setMaxLod(max_lod: float) → None

Sets the maximum mipmap level that may be sampled.

clearMaxLod() → None

Removes the specification of a maximum mipmap level from the texture.

hasMaxLod() → bool

Returns true if a value for the maximum mipmap level has been specified for this texture, false otherwise.

getMaxLod() → float

Returns the maximum mipmap level that has been specified for this texture.

setLodBias(lod_bias: float) → None

Sets the mipmap level bias that is added to the mipmap level to be sampled.

clearLodBias() → None

Removes the specification of a maximum mipmap level from the texture.

hasLodBias() → bool

Returns true if a value for the maximum mipmap level has been specified for this texture, false otherwise.

getLodBias() → float

Returns the maximum mipmap level that has been specified for this texture.

clearMultitexture() → None

Resets the multitexture flags set by multitextureOver(). After this call, get_multitexture() will return false, and getMultitextureSort() will return 0.

multitextureOver(other: EggTexture) → bool

Indicates that this texture should be layered on top of the other texture. This will guarantee that this->:meth:~EggTexture.getMultitextureSort > other->:meth:~EggTexture.getMultitextureSort, at least until clearMultitexture() is called on either one.

The return value is true if successful, or false if there is a failure because the other texture was already layered on top of this one (or there is a three- or more-way cycle).

getMultitextureSort() → int

Returns an integer that represents the depth to which this texture is layered on all other textures in the egg file. In general, if texture A is layered over texture B, then sort(A) > sort(B). If texture A is never layered over any other texture, then sort(A) == 0. More than that is difficult to guarantee.

static stringTextureType(string: str) → TextureType

Returns the Texture_ype value associated with the given string representation, or TT_unspecified if the string does not match any known TextureType value.

Return type

TextureType

static stringFormat(string: str) → Format

Returns the Format value associated with the given string representation, or F_unspecified if the string does not match any known Format value.

Return type

Format

static stringCompressionMode(string: str) → CompressionMode

Returns the CompressionMode value associated with the given string representation, or CM_default if the string does not match any known CompressionMode value.

Return type

CompressionMode

static stringWrapMode(string: str) → WrapMode

Returns the WrapMode value associated with the given string representation, or WM_unspecified if the string does not match any known WrapMode value.

Return type

WrapMode

static stringFilterType(string: str) → FilterType

Returns the FilterType value associated with the given string representation, or FT_unspecified if the string does not match any known FilterType value.

Return type

FilterType

static stringEnvType(string: str) → EnvType

Returns the EnvType value associated with the given string representation, or ET_unspecified if the string does not match any known EnvType value.

Return type

EnvType

static stringCombineMode(string: str) → CombineMode

Returns the CombineMode value associated with the given string representation, or CM_unspecified if the string does not match any known CombineMode value.

Return type

CombineMode

static stringCombineSource(string: str) → CombineSource

Returns the CombineSource value associated with the given string representation, or CS_unspecified if the string does not match any known CombineSource value.

Return type

CombineSource

static stringCombineOperand(string: str) → CombineOperand

Returns the CombineOperand value associated with the given string representation, or CO_unspecified if the string does not match any known CombineOperand value.

Return type

CombineOperand

static stringTexGen(string: str) → TexGen

Returns the TexGen value associated with the given string representation, or ET_unspecified if the string does not match any known TexGen value.

Return type

TexGen

static stringQualityLevel(string: str) → QualityLevel

Returns the TexGen value associated with the given string representation, or ET_unspecified if the string does not match any known TexGen value.

Return type

QualityLevel

static getClassType() → TypeHandle
Return type

TypeHandle

property texture_type

Getter Setter

Return type

TextureType

property format

Getter Setter

Return type

Format

property compression_mode

Getter Setter

Return type

CompressionMode

property wrap_mode

Getter Setter

Return type

WrapMode

property wrap_u
Getter

Returns the amount specified for U wrap. This may be unspecified, even if there is an overall wrap value.

Setter

Return type

WrapMode

property wrap_v
Getter

Returns the amount specified for V wrap. This may be unspecified, even if there is an overall wrap value.

Setter

Return type

WrapMode

property wrap_w
Getter

Returns the amount specified for W wrap. This may be unspecified, even if there is an overall wrap value.

Setter

Return type

WrapMode

property minfilter

Getter Setter

Return type

FilterType

property magfilter

Getter Setter

Return type

FilterType

property anisotropic_degree
Getter

Returns the anisotropic filtering degree that has been specified for this texture, or 0 if nothing has been specified.

Setter

Sets the degree of anisotropic filtering for this texture. 1 is off; higher levels indicate filtering in effect.

Return type

int

property env_type

Getter Setter

Return type

EnvType

property saved_result
Getter

Returns the current setting of the saved_result flag. See setSavedResult().

Setter

Sets the saved_result flag. When this is true, the output of this stage is not part of the normal pipeline–that is, it will not be supplied as the “previous” source for the next texture stage–but it will instead be supplied as the “last_saved_result” source for any future stages, until the next TextureStage with a saved_result set true is encountered.

This can be used to reuse the results of this texture stage as input to more than one stage later in the pipeline.

The last texture in the pipeline (the one with the highest sort value) should not have this flag set.

Return type

bool

property tex_gen

Getter Setter

Return type

TexGen

property quality_level

Getter Setter

Return type

QualityLevel

property stage_name
Getter

Returns the stage name that has been specified for this texture, or the tref name if no texture stage has explicitly been specified.

Setter

Specifies the particular TextureStage this texture will be rendered on by name. If this is omitted, the texture will be rendered on the default TextureStage, unless some other stage-specific property is specificied, in which case the texture will be rendered on a TextureStage with the same name as the tref. This is in support of multitexturing.

Each different TextureStage in the world must be uniquely named.

Return type

string

property priority
Getter

Returns the multitexture importance value that has been specified for the texture, or 0 if no priority value has been specified.

Setter

Sets the importance of this texture with respect to other textures also applied on the same geometry. This is only meaningful in the presence of multitexturing.

Return type

int

property color
Getter

Returns the blend color if one has been specified, or (0, 0, 0, 1) otherwise.

Setter

Return type

LColor

property border_color
Getter

Returns the border color if one has been specified, or (0, 0, 0, 1) otherwise.

Setter

Return type

LColor

property uv_name
Getter

Returns the texcoord name that has been specified for this texture, or the empty string if no texcoord name has explicitly been specified.

Setter

Specifies the named set of texture coordinates that this texture will use when it is applied to geometry. Geometry may have multiple sets of texture coordinates defined, by name.

If this is not specified for a particular texture, the default set of texture coordinates will be used.

Return type

string

property rgb_scale
Getter

Returns the rgb_scale value that has been specified for the texture, or 1 if no rgb_scale value has been specified.

Setter

Sets an additional factor that will scale all three r, g, b components after the texture has been applied. This is used only when a combine mode is in effect.

The only legal values are 1, 2, or 4.

Return type

int

property alpha_scale
Getter

Returns the alpha_scale value that has been specified for the texture, or 1 if no alpha_scale value has been specified.

Setter

Sets an additional factor that will scale the alpha component after the texture has been applied. This is used only when a combine mode is in effect.

The only legal values are 1, 2, or 4.

Return type

int

property alpha_filename
Getter

Returns the separate file assigned for the alpha channel. It is an error to call this unless hasAlphaFilename() returns true. See setAlphaFilename().

Setter

Specifies a separate file that will be loaded in with the 1- or 3-component texture and applied as the alpha channel. This is useful when loading textures from file formats that do not support alpha, for instance jpg.

Return type

Filename

property alpha_fullpath
Getter

Returns the full pathname to the alpha file, if it is known; otherwise, returns the same thing as getAlphaFilename().

This function simply returns whatever was set by the last call to setAlphaFullpath(). This string is not written to the egg file; its main purpose is to record the full path to the alpha filename if it is known, for egg structures that are generated in-memory and then immediately converted to a scene graph.

Setter

Records the full pathname to the file, for the benefit of getAlphaFullpath().

Return type

Filename

property alpha_file_channel
Getter

Returns the particular channel that has been specified for the alpha-file image, or 0 if no channel has been specified. See setAlphaFileChannel().

Setter

If a separate alpha-file is specified, this indicates which channel number should be extracted from this file to derive the alpha channel for the final image. The default is 0, which means the grayscale combination of r, g, b. Otherwise, this should be the 1-based channel number, for instance 1, 2, or 3 for r, g, or b, respectively, or 4 for the alpha channel of a four-component image.

Return type

int

property multiview
Getter

Returns the current setting of the multiview flag. See setMultiview().

Setter

Sets the multiview flag.

If multiview is true, the filename should contain a hash mark (‘#’), which will be filled in with the view number; and a multiview texture will be defined with a series of images, one for each view.

A multiview texture is most often used for stereo textures, but other uses are also possible, such as for texture animation.

Return type

bool

property num_views
Getter

Returns the specified number of views specified for the 3-D multiview texture. See setNumViews().

Setter

When loading a 3-D multiview texture, this parameter is necessary to specify how many views will be expected. The z size is determined implicitly from the number of images loaded.

Return type

int

property read_mipmaps
Getter

Returns the current setting of the read_mipmaps flag. See setReadMipmaps().

Setter

Sets the read_mipmaps flag.

If read_mipmaps is true, the filename should contain a hash mark (‘#’), which will be filled in with the mipmap level number; and the texture will be defined with a series of images, one for each mipmap level.

If the filename is of a type that already requires a hash mark, such as a cube map or a 3-d texture, then the filename should now require two hash marks, and the first one indicates the mipmap level number, while the second indicates the face number or 3-d level number.

Return type

bool

property min_lod
Getter

Returns the minimum mipmap level that has been specified for this texture.

Setter

Sets the minimum mipmap level that may be sampled.

Return type

float

property max_lod
Getter

Returns the maximum mipmap level that has been specified for this texture.

Setter

Sets the maximum mipmap level that may be sampled.

Return type

float

property lod_bias
Getter

Returns the maximum mipmap level that has been specified for this texture.

Setter

Sets the mipmap level bias that is added to the mipmap level to be sampled.

Return type

float

property multitexture_sort

Returns an integer that represents the depth to which this texture is layered on all other textures in the egg file. In general, if texture A is layered over texture B, then sort(A) > sort(B). If texture A is never layered over any other texture, then sort(A) == 0. More than that is difficult to guarantee.

Return type

int

enum Equivalence
enumerator E_basename = 1
enumerator E_extension = 2
enumerator E_dirname = 4
enumerator E_complete_filename = 7
enumerator E_transform = 8
enumerator E_attributes = 16
enumerator E_tref_name = 32
enum TextureType
enumerator TT_unspecified = 0
enumerator TT_1d_texture = 1
enumerator TT_2d_texture = 2
enumerator TT_3d_texture = 3
enumerator TT_cube_map = 4
enum Format
enumerator F_unspecified = 0
enumerator F_rgba = 1
enumerator F_rgbm = 2
enumerator F_rgba12 = 3
enumerator F_rgba8 = 4
enumerator F_rgba4 = 5
enumerator F_rgba5 = 6
enumerator F_rgb = 7
enumerator F_rgb12 = 8
enumerator F_rgb8 = 9
enumerator F_rgb5 = 10
enumerator F_rgb332 = 11
enumerator F_red = 12
enumerator F_green = 13
enumerator F_blue = 14
enumerator F_alpha = 15
enumerator F_luminance = 16
enumerator F_luminance_alpha = 17
enumerator F_luminance_alphamask = 18
enum CompressionMode
enumerator CM_default = 0
enumerator CM_off = 1
enumerator CM_on = 2
enumerator CM_fxt1 = 3
enumerator CM_dxt1 = 4
enumerator CM_dxt2 = 5
enumerator CM_dxt3 = 6
enumerator CM_dxt4 = 7
enumerator CM_dxt5 = 8
enum WrapMode
enumerator WM_unspecified = 0
enumerator WM_clamp = 1
enumerator WM_repeat = 2
enumerator WM_mirror = 3
enumerator WM_mirror_once = 4
enumerator WM_border_color = 5
enum FilterType
enumerator FT_unspecified = 0

Note that these type values match up, name-for-name, with a similar enumerated type in Panda’s Texture object. However, they do not match up numerically. You must convert between them using a switch statement.

enumerator FT_nearest = 1

Mag Filter and Min Filter

enumerator FT_linear = 2
enumerator FT_nearest_mipmap_nearest = 3

“mipmap point”

enumerator FT_linear_mipmap_nearest = 4

“mipmap linear”

enumerator FT_nearest_mipmap_linear = 5

“mipmap bilinear”

enumerator FT_linear_mipmap_linear = 6

“mipmap trilinear”

enum EnvType
enumerator ET_unspecified = 0
enumerator ET_modulate = 1
enumerator ET_decal = 2
enumerator ET_blend = 3
enumerator ET_replace = 4
enumerator ET_add = 5
enumerator ET_blend_color_scale = 6
enumerator ET_modulate_glow = 7
enumerator ET_modulate_gloss = 8
enumerator ET_normal = 9
enumerator ET_normal_height = 10
enumerator ET_glow = 11
enumerator ET_gloss = 12
enumerator ET_height = 13
enumerator ET_selector = 14
enumerator ET_normal_gloss = 15
enum CombineMode
enumerator CM_unspecified = 0
enumerator CM_replace = 1
enumerator CM_modulate = 2
enumerator CM_add = 3
enumerator CM_add_signed = 4
enumerator CM_interpolate = 5
enumerator CM_subtract = 6
enumerator CM_dot3_rgb = 7
enumerator CM_dot3_rgba = 8
enum CombineChannel
enumerator CC_rgb = 0
enumerator CC_alpha = 1
enumerator CC_num_channels = 2
enum CombineIndex
enumerator CI_num_indices = 3
enum CombineSource
enumerator CS_unspecified = 0
enumerator CS_texture = 1
enumerator CS_constant = 2
enumerator CS_primary_color = 3
enumerator CS_previous = 4
enumerator CS_constant_color_scale = 5
enumerator CS_last_saved_result = 6
enum CombineOperand
enumerator CO_unspecified = 0
enumerator CO_src_color = 1
enumerator CO_one_minus_src_color = 2
enumerator CO_src_alpha = 3
enumerator CO_one_minus_src_alpha = 4
enum TexGen
enumerator TG_unspecified = 0
enumerator TG_eye_sphere_map = 1
enumerator TG_world_cube_map = 2
enumerator TG_eye_cube_map = 3
enumerator TG_world_normal = 4
enumerator TG_eye_normal = 5
enumerator TG_world_position = 6
enumerator TG_eye_position = 7
enumerator TG_point_sprite = 8
enum QualityLevel
enumerator QL_unspecified = 0
enumerator QL_default = 1
enumerator QL_fastest = 2
enumerator QL_normal = 3
enumerator QL_best = 4