Lines Matching refs:num_materials
1742 #define check_generated_effects(materials, num_materials, effects) \ argument
1743 check_generated_effects_(__LINE__, materials, num_materials, effects)
1744 static void check_generated_effects_(int line, const D3DXMATERIAL *materials, DWORD num_materials, … in check_generated_effects_() argument
1763 if (!num_materials) { in check_generated_effects_()
1767 for (i = 0; i < num_materials; i++) in check_generated_effects_()
1900 const D3DXEFFECTINSTANCE *effects, DWORD num_materials, const DWORD *adjacency, in ID3DXAllocateHierarchyImpl_CreateMeshContainer() argument
1908 num_materials, adjacency, skin_info, *new_mesh_container); in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
1920 mesh_container->NumMaterials = num_materials; in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
1921 if (num_materials) { in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
1922 … mesh_container->pMaterials = HeapAlloc(GetProcessHeap(), 0, num_materials * sizeof(*materials)); in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
1926 memcpy(mesh_container->pMaterials, materials, num_materials * sizeof(*materials)); in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
1927 for (i = 0; i < num_materials; i++) in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
1929 for (i = 0; i < num_materials; i++) { in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
1937 …mesh_container->pEffects = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, num_materials * sizeof(*e… in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
1940 for (i = 0; i < num_materials; i++) { in ID3DXAllocateHierarchyImpl_CreateMeshContainer()
2025 DWORD num_materials = 0; in test_LoadMeshFromX_() local
2032 check_adjacency ? &adjacency : NULL, &materials, &effects, &num_materials, &mesh); in test_LoadMeshFromX_()
2041 … check_materials_(line, materials_ptr, num_materials, expected_materials, expected_num_materials); in test_LoadMeshFromX_()
2042 check_generated_effects_(line, materials_ptr, num_materials, effects_ptr); in test_LoadMeshFromX_()