AGI STK Graphics 11Send comments on this topic.
InitializeWithTextureWrap Method (IAgStkGraphicsTextureFilter2DFactory)
See Also 
WrapS
A texture wrap for the S direction.
WrapT
A texture wrap for the T direction.
Windows






Windows & Linux

Description

Creates a texture filter using the specified texture wrap.

Syntax

[Visual Basic .NET]
Public Function InitializeWithTextureWrap( _
   ByVal WrapS As AgEStkGraphicsTextureWrap, _
   ByVal WrapT As AgEStkGraphicsTextureWrap _
) As IAgStkGraphicsTextureFilter2D
[Managed C++]
public: IAgStkGraphicsTextureFilter2D^ InitializeWithTextureWrap(
   AgEStkGraphicsTextureWrap WrapS,
   AgEStkGraphicsTextureWrap WrapT
);
[Unmanaged C++]
public: HRESULT InitializeWithTextureWrap(
   AgEStkGraphicsTextureWrap WrapS,
   AgEStkGraphicsTextureWrap WrapT,
   IAgStkGraphicsTextureFilter2D ** ReturnValue
);

Parameters

WrapS
MemberValueDescription
eStkGraphicsTextureWrapClamp0Clamp the texture coordinate to the range [0, 1].
eStkGraphicsTextureWrapClampToBorder1Clamp the texture coordinate to the range [-1/2N, 1 + 1/2N], where N is the size the texture in the direction of clamping.
eStkGraphicsTextureWrapClampToEdge2Clamp the texture coordinate to the range [1/2N, 1 - 1/2N], where N is the size the texture in the direction of clamping.
eStkGraphicsTextureWrapMirroredRepeat3If the integer part of the texture coordinate is even, use the fractional part of the texture coordinate. Otherwise, use one minus the fractional part of the texture coordinate.
eStkGraphicsTextureWrapRepeat4Ignore the integer part of the texture coordinate.
A texture wrap for the S direction.
WrapT
MemberValueDescription
eStkGraphicsTextureWrapClamp0Clamp the texture coordinate to the range [0, 1].
eStkGraphicsTextureWrapClampToBorder1Clamp the texture coordinate to the range [-1/2N, 1 + 1/2N], where N is the size the texture in the direction of clamping.
eStkGraphicsTextureWrapClampToEdge2Clamp the texture coordinate to the range [1/2N, 1 - 1/2N], where N is the size the texture in the direction of clamping.
eStkGraphicsTextureWrapMirroredRepeat3If the integer part of the texture coordinate is even, use the fractional part of the texture coordinate. Otherwise, use one minus the fractional part of the texture coordinate.
eStkGraphicsTextureWrapRepeat4Ignore the integer part of the texture coordinate.
A texture wrap for the T direction.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.