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 6.0] Sub PackTexture2D(
ByVal textureS As Double, _
ByVal textureT As Double, _
packedTexture As Double _
)
[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 );
[Java] public void packTexture2D ( double textureS, double textureT, double packedTexture ) throws IOException, AutomationException
[C++]
HRESULT PackTexture2D(
double textureS,
double textureT,
double* packedTexture
);
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