Difference between revisions of "NiTexturingPropertySetTextureFlags"
NiTexturingPropertySetTextureFlags (edit)
Revision as of 16:12, 21 January 2011
, 16:12, 21 January 2011no edit summary
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (short:clampMode) NiTexturingPropertySetTextureClampMode short:texSlot short:nifID ''short:blockID'' (short:clampMode) NiT...) |
imported>DragoonWraith |
||
Line 7: | Line 7: | ||
Sets the "flags" of the [[:Category:NifSE (NiSourceTexture)|<tt>NiSourceTexture</tt>]]-derived block that is filling the specified <tt>texSlot</tt>. The texture slots range from 0 to [[NiTexturingPropertySetTextureCount]], and the possible choices are given below. See [[NiTexturingPropertySetTextureCount]] for more details. | Sets the "flags" of the [[:Category:NifSE (NiSourceTexture)|<tt>NiSourceTexture</tt>]]-derived block that is filling the specified <tt>texSlot</tt>. The texture slots range from 0 to [[NiTexturingPropertySetTextureCount]], and the possible choices are given below. See [[NiTexturingPropertySetTextureCount]] for more details. | ||
The flags value is presumably a bitfield, assumed to be involved in clamp and filter modes, but the exact values are unknown. In almost all cases, it would be better to use the [[NiTexturingPropertySetTextureClampMode]] and [[ | The flags value is presumably a bitfield, assumed to be involved in clamp and filter modes, but the exact values are unknown. In almost all cases, it would be better to use the [[NiTexturingPropertySetTextureClampMode]] and [[NiTexturingPropertySetTextureFilterMode]] functions directly. | ||
Returns 0 if the function fails for whatever reason, 1 otherwise. | Returns 0 if the function fails for whatever reason, 1 otherwise. |