func (m *Material) GetMaterialIntegerArray(key MatKey, typ TextureType, textureIndex int, pOut []int32) Return { header := (*reflect.SliceHeader)(unsafe.Pointer(&pOut)) ret := C.aiGetMaterialIntegerArray((*C.struct_aiMaterial)(m), key.constString(), C.uint(typ), C.uint(textureIndex), (*C.int)(&pOut[0]), (*C.uint)(unsafe.Pointer((&header.Len)))) return Return(ret) }
func (m *Material) GetMaterialInteger(key MatKey, typ TextureType, textureIndex int) (int, Return) { var i C.int ret := C.aiGetMaterialIntegerArray((*C.struct_aiMaterial)(m), key.constString(), C.uint(typ), C.uint(textureIndex), &i, nil) return int(i), Return(ret) }