Creates a texture filter using the specified
texture wrap.
[Visual Basic .NET] |
---|
Public Function InitializeWithTextureWrap( _
ByVal WrapS As AgEStkGraphicsTextureWrap, _
ByVal WrapT As AgEStkGraphicsTextureWrap _
) As IAgStkGraphicsTextureFilter2D
|
[C#] |
---|
public IAgStkGraphicsTextureFilter2D InitializeWithTextureWrap(
|
[Managed C++] |
---|
public: IAgStkGraphicsTextureFilter2D^ InitializeWithTextureWrap(
|
[Java] |
---|
public IAgStkGraphicsTextureFilter2D initializeWithTextureWrap(
|
[Unmanaged C++] |
---|
public: HRESULT InitializeWithTextureWrap(
|
- WrapS
-
Member Value Description eStkGraphicsTextureWrapClamp 0 Clamp the texture coordinate to the range [0, 1]
.eStkGraphicsTextureWrapClampToBorder 1 Clamp the texture coordinate to the range [-1/2N, 1 + 1/2N]
, whereN
is the size the texture in the direction of clamping.eStkGraphicsTextureWrapClampToEdge 2 Clamp the texture coordinate to the range [1/2N, 1 - 1/2N]
, whereN
is the size the texture in the direction of clamping.eStkGraphicsTextureWrapMirroredRepeat 3 If 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. eStkGraphicsTextureWrapRepeat 4 Ignore the integer part of the texture coordinate. - WrapT
-
Member Value Description eStkGraphicsTextureWrapClamp 0 Clamp the texture coordinate to the range [0, 1]
.eStkGraphicsTextureWrapClampToBorder 1 Clamp the texture coordinate to the range [-1/2N, 1 + 1/2N]
, whereN
is the size the texture in the direction of clamping.eStkGraphicsTextureWrapClampToEdge 2 Clamp the texture coordinate to the range [1/2N, 1 - 1/2N]
, whereN
is the size the texture in the direction of clamping.eStkGraphicsTextureWrapMirroredRepeat 3 If 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. eStkGraphicsTextureWrapRepeat 4 Ignore the integer part of the texture coordinate.