This document is archived and information here might be outdated. Recommended version. |
Encodes texture coordinates into part of a double. A normal and texture information can both be packed in a single double without conflict.
[Visual Basic .NET]
Public Sub PackTexture2D ( _
ByVal textureS As Double, _
ByVal textureT As Double, _
ByRef packedTexture As Double _
)
[C#]
public void PackTexture2D (
double textureS,
double textureT,
ref double packedTexture
);
[C++]
HRESULT PackTexture2D(
double textureS,
double textureT,
System.Double* packedTexture
);
[C++] Parameters textureS [in]
textureS is a parameter of type double textureT [in]
textureT is a parameter of type double packedTexture [out]
packedTexture is a parameter of type double*