texconv

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 13 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-texconv

Go wrapper for DirectXTex texconv with Windows and Linux support.

Installation

go get github.com/zelenin/go-texconv

Usage

package main

import (
    "log"

    "github.com/zelenin/go-texconv"
)

func main() {
    args := []string{"-ft", "png", "-y", "input.dds"}
    result, err := texconv.Texconv(args, true, true, true)
    if err != nil {
        log.Fatalf("texconv failed: %v", err)
    }
    log.Printf("texconv finished with code %d", result)
}

Author

Aleksandr Zelenin, e-mail: aleksandr@zelenin.me

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Texconv

func Texconv(args []string, verbose bool, initCom bool, allowSlowCodec bool) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址