Difference between revisions of "NiTexturingPropertySetTextureFlags"

Jump to navigation Jump to search
no edit summary
imported>DragoonWraith
imported>DragoonWraith
 
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (short:clampMode) NiTexturingPropertySetTextureClampMode short:texSlot short:nifID ''short:blockID''
  (bool:success) NiTexturingPropertySetTextureFlags short:flags short:texSlot short:nifID ''short:blockID''
  (short:clampMode) NiTexPropSetTexClamp short:texSlot short:nifID ''short:blockID''
  (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 [[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 [[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.

Navigation menu