.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. .TH MATINFO "1" "October 2021" "matinfo prints information about material files compiled with matc" "User Commands" .SH NAME matinfo \- filament material tools .SH DESCRIPTION matinfo prints information about material files compiled with matc Usage: .IP matinfo [options] .SH OPTIONS .HP \fB\-\-help\fR, \fB\-h\fR .IP Print this message .HP \fB\-\-print\-glsl\fR=\fI\,[index]\/\fR, \fB\-g\fR .IP Print GLSL for the nth shader (0 is the first OpenGL shader) .HP \fB\-\-print\-spirv\fR=\fI\,[index]\/\fR, \fB\-s\fR .IP Validate and print disasm for the nth shader (0 is the first Vulkan shader) .HP \fB\-\-print\-metal\fR=\fI\,[index]\/\fR, \fB\-m\fR .IP Print Metal Shading Language for the nth shader (0 is the first Metal shader) .HP \fB\-\-print\-vkglsl\fR=\fI\,[index]\/\fR, \fB\-v\fR .IP Print the nth Vulkan shader transpiled into GLSL .HP \fB\-\-print\-dic\-glsl\fR .IP Print the GLSL dictionary .HP \fB\-\-print\-dic\-metal\fR .IP Print the Metal dictionary .HP \fB\-\-print\-dic\-vk\fR .IP Print the Vulkan dictionary .HP \fB\-\-web\-server\fR=\fI\,[port]\/\fR, \fB\-w\fR .IP Serve a web page at the given port (e.g. 8080) .HP \fB\-\-dump\-binary\fR=\fI\,[index]\/\fR, \fB\-b\fR .IP Dump binary SPIRV for the nth Vulkan shader to 'out.spv' .HP \fB\-\-license\fR .IP Print copyright and license information .HP \fB\-\-analyze\-spirv\fR=\fI\,[index]\/\fR, \fB\-a\fR .IP Print annotated GLSL for the nth shader (0 is the first Vulkan shader) .SS "Usage:" .IP matinfo [options] .HP \fB\-\-help\fR, \fB\-h\fR .IP Print this message .HP \fB\-\-print\-glsl\fR=\fI\,[index]\/\fR, \fB\-g\fR .IP Print GLSL for the nth shader (0 is the first OpenGL shader) .HP \fB\-\-print\-spirv\fR=\fI\,[index]\/\fR, \fB\-s\fR .IP Validate and print disasm for the nth shader (0 is the first Vulkan shader) .HP \fB\-\-print\-metal\fR=\fI\,[index]\/\fR, \fB\-m\fR .IP Print Metal Shading Language for the nth shader (0 is the first Metal shader) .HP \fB\-\-print\-vkglsl\fR=\fI\,[index]\/\fR, \fB\-v\fR .IP Print the nth Vulkan shader transpiled into GLSL .HP \fB\-\-print\-dic\-glsl\fR .IP Print the GLSL dictionary .HP \fB\-\-print\-dic\-metal\fR .IP Print the Metal dictionary .HP \fB\-\-print\-dic\-vk\fR .IP Print the Vulkan dictionary .HP \fB\-\-web\-server\fR=\fI\,[port]\/\fR, \fB\-w\fR .IP Serve a web page at the given port (e.g. 8080) .HP \fB\-\-dump\-binary\fR=\fI\,[index]\/\fR, \fB\-b\fR .IP Dump binary SPIRV for the nth Vulkan shader to 'out.spv' .HP \fB\-\-license\fR .IP Print copyright and license information .HP \fB\-\-analyze\-spirv\fR=\fI\,[index]\/\fR, \fB\-a\fR .IP Print annotated GLSL for the nth shader (0 is the first Vulkan shader)