IDirect3DRMMesh::SetGroupMapping
Sets the mapping for a group in a Direct3DRMMesh object. The mapping controls how textures are mapped to a surface.
HRESULT SetGroupMapping(
D3DRMGROUPINDEX id,
D3DRMMAPPING value
);
Parameters
id
Identifier of the group. This identifier must have been produced by using the IDirect3DRMMesh::AddGroup method.
value
Value of the D3DRMMAPPING type describing the mapping for the group.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
See Also