NNS_G3dBindMdlTex

Syntax

#include <nnsys/g3d/kernel.h>
BOOL
NNS_G3dBindMdlTex(
    NNSG3dResMdl*       pMdl,
    const NNSG3dResTex* pTex
);

Arguments

pMdl Pointer to the model resource
pTex Pointer to the texture resource

Return Values

Returns TRUE if the bind succeeds.

Description

In the model specified by pMdl, binds the texture entry of a material associated with a texture name to the texture data having the same texture name in the texture block specified by pTex.

See Also

NNS_G3dBindMdlTexEx, NNS_G3dForceBindMdlTex, NNS_G3dReleaseMdlTex, NNS_G3dReleaseMdlTexEx

Revision History

2004/08/02 Initial version.


CONFIDENTIAL