matinfo(1)

matinfo1

Filament material tools

Overview

matinfo prints information about material files compiled with matc Usage:

matinfo [options] <material file>

Options

--help, -h

Print this message

--print-glsl=[index], -g

Print GLSL for the nth shader (0 is the first OpenGL shader)

--print-spirv=[index], -s

Validate and print disasm for the nth shader (0 is the first Vulkan shader)

--print-metal=[index], -m

Print Metal Shading Language for the nth shader (0 is the first Metal shader)

--print-vkglsl=[index], -v

Print the nth Vulkan shader transpiled into GLSL

--print-dic-glsl

Print the GLSL dictionary

--print-dic-metal

Print the Metal dictionary

--print-dic-vk

Print the Vulkan dictionary

--web-server=[port], -w

Serve a web page at the given port (e.g. 8080)

--dump-binary=[index], -b

Dump binary SPIRV for the nth Vulkan shader to 'out.spv'

--license

Print copyright and license information

--analyze-spirv=[index], -a

Print annotated GLSL for the nth shader (0 is the first Vulkan shader)

Usage:

matinfo [options] <material file>

--help, -h

Print this message

--print-glsl=[index], -g

Print GLSL for the nth shader (0 is the first OpenGL shader)

--print-spirv=[index], -s

Validate and print disasm for the nth shader (0 is the first Vulkan shader)

--print-metal=[index], -m

Print Metal Shading Language for the nth shader (0 is the first Metal shader)

--print-vkglsl=[index], -v

Print the nth Vulkan shader transpiled into GLSL

--print-dic-glsl

Print the GLSL dictionary

--print-dic-metal

Print the Metal dictionary

--print-dic-vk

Print the Vulkan dictionary

--web-server=[port], -w

Serve a web page at the given port (e.g. 8080)

--dump-binary=[index], -b

Dump binary SPIRV for the nth Vulkan shader to 'out.spv'

--license

Print copyright and license information

--analyze-spirv=[index], -a

Print annotated GLSL for the nth shader (0 is the first Vulkan shader)

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

From libfilament-tools 1.9.25+dfsg3-1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.