// Copyright Contributors to the Open Shading Language project. // SPDX-License-Identifier: BSD-3-Clause // https://github.com/AcademySoftwareFoundation/OpenShadingLanguage /* The code in this file is based somewhat on code released by NVIDIA as part of Gelato (specifically, gsoinfo.cpp). That code had the following copyright notice: Copyright 2004 NVIDIA Corporation. All Rights Reserved. and was distributed under the 3-clause BSD license. SPDX-License-Identifier: BSD-3-Clause */ /// /// /// Example program using OSLQuery /// ============================== /// /// This is the full text of `oslinfo`, a command-line utility that /// for any shader, will print out its parameters (name, type, default /// values, and metadata). /// /// ~~~~ /// /// ~~~~