func (m *Material) GetMaterialTexture(typ TextureType, textureIndex int) (string, TextureMapping, int, float32, TextureOp, TextureMapMode, uint, Return) { var mat *C.struct_aiMaterial = (*C.struct_aiMaterial)(m) var typ_ C.enum_aiTextureType = C.enum_aiTextureType(typ) var index C.uint = C.uint(textureIndex) var path C.struct_aiString var mapping C.enum_aiTextureMapping var uvindex C.uint var blend C.float var op C.enum_aiTextureOp var mapmode C.enum_aiTextureMapMode var flags C.uint ret := C.aiGetMaterialTexture(mat, typ_, index, &path, &mapping, &uvindex, &blend, &op, &mapmode, &flags) return C.GoString(&path.data[0]), TextureMapping(mapping), int(uvindex), float32(blend), TextureOp(op), TextureMapMode(mapmode), uint(flags), Return(ret) }
func (m *Material) GetMaterialTextureCount(typ TextureType) int { ret := C.aiGetMaterialTextureCount((*C.struct_aiMaterial)(m), C.enum_aiTextureType(typ)) return int(ret) }