
$texturecPath = ".\cmake-build\texturec.exe"
$textureAssetDir = "..\assets\textures"
$outputBaseDir = ".\textures"

Get-ChildItem -Path $textureAssetDir -File | ForEach-Object {
  $outName = Join-Path -Path $outputBaseDir -ChildPath ($_.BaseName + ".ktx")
  Write-Host $_.FullName $outName
  & "$texturecPath" -f $_.FullName -o $outName -t RGBA8
}
