#include <nnsys/g3d/kernel.h>
BOOL NNS_G3dForceBindMdlPltt( NNSG3dResMdl* pMdl, const NNSG3dResTex* pTex, u32 plttToMatListIdx, u32 plttIdx );
| pMdl | Pointer to the model resource |
| pTex | Pointer to the texture resource |
| plttToMatListIdx | Palette index for the material list directory contained within the model resource palette |
| plttIdx | Palette index in the texture resource |
Returns TRUE if the bind succeeds
There is a dictionary in the model resource that references the material list that uses the palette corresponding the palette name. The material group is referenced with the texToMatListIdx index when the dictionary is using index referencing; that material group is forced to associate with the number plttIdx palette in the texture block. This can be used to bind material to a palette that does not match the specified palette name.
NNS_G3dBindMdlPltt, NNS_G3dBindMdlPlttEx, NNS_G3dReleaseMdlPltt, NNS_G3dReleaseMdlPlttEx
08/02/2004 Initial version.