Difference between revisions of "NiTexturingPropertyHasTexture"

Jump to navigation Jump to search
310 bytes removed ,  12:55, 31 August 2010
→‎Texture Slots: changing this to a template
imported>DragoonWraith
imported>DragoonWraith
(→‎Texture Slots: changing this to a template)
 
Line 9: Line 9:
The related function [[NiTexturingPropertyGetTextureCount]] indicates how many of the below slots are open, but does not guarantee that any or all of those slots actually have textures in them. This is the function to use to actually check that, but this function will automatically fail when checking any slot greater than the texture count.
The related function [[NiTexturingPropertyGetTextureCount]] indicates how many of the below slots are open, but does not guarantee that any or all of those slots actually have textures in them. This is the function to use to actually check that, but this function will automatically fail when checking any slot greater than the texture count.


== Texture Slots ==
{{NifSE NiTexturingProperty Texture Slots}}
* <tt>BASE_MAP = 0</tt> - a.k.a. the color map
* <tt>DARK_MAP = 1</tt>
* <tt>DETAIL_MAP = 2</tt>
* <tt>GLOSS_MAP = 3</tt>
* <tt>GLOW_MAP = 4</tt>
* <tt>BUMP_MAP = 5</tt>
* <tt>NORMAL_MAP = 6</tt>
* <tt>UNKNOWN2_MAP = 7</tt>
* <tt>DECAL_0_MAP = 8</tt>
* <tt>DECAL_1_MAP = 9</tt>
* <tt>DECAL_2_MAP = 10</tt>
* <tt>DECAL_3_MAP = 11</tt>


== See Also ==
== See Also ==

Navigation menu