7#ifndef PXR_IMAGING_HD_COMMAND_H
8#define PXR_IMAGING_HD_COMMAND_H
12#include "pxr/imaging/hd/api.h"
15#include "pxr/base/vt/value.h"
21PXR_NAMESPACE_OPEN_SCOPE
49using HdCommandArgDescriptors = std::vector<HdCommandArgDescriptor>;
67 const std::string &description_=
"",
68 const HdCommandArgDescriptors &args_=HdCommandArgDescriptors())
91using HdCommandDescriptors = std::vector<HdCommandDescriptor>;
94PXR_NAMESPACE_CLOSE_SCOPE
Token for efficient comparison, assignment, and hashing of known strings.
A map with string keys and VtValue values.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
A bundle of state describing an argument to a command.
const TfToken argName
The name of the argument.
const VtValue defaultValue
Default value for this argument.
A bundle of state describing a "command".
const std::string commandDescription
A description of the command suitable for display in a UI for example.
const TfToken commandName
A token representing a command that can be invoked.
const HdCommandArgDescriptors commandArgs
List of arguments this command supports, may be empty.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...