Difference between revisions of "NiTexturingPropertySetTextureFlags"
Jump to navigation
Jump to search
NiTexturingPropertySetTextureFlags (edit)
Revision as of 16:33, 21 January 2011
, 16:33, 21 January 2011no edit summary
imported>DragoonWraith |
imported>DragoonWraith |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(short: | (bool:success) NiTexturingPropertySetTextureFlags short:flags short:texSlot short:nifID ''short:blockID'' | ||
(short: | (bool:success) NiTexPropSetTexFlags short:flags short:texSlot short:nifID ''short:blockID'' | ||
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 [[ | 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 [[NiTexturingPropertyGetTextureCount]], and the possible choices are given below. See [[NiTexturingPropertyGetTextureCount]] 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 [[NiTexturingPropertySetTextureFilterMode]] functions directly. | 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. |