23 [Tooltip(
"The name of the channel. This is the name used to access the channel from within the shader.")]
27 private string _channelName =
"_CustomChannel";
36 foreach (var feature
in group.features) {
37 if (feature ==
this)
continue;
40 if (channelFeature !=
null && channelFeature.channelName ==
channelName) {
41 return SupportInfo.
Error(
"Cannot have two custom channels with the same name.");
override SupportInfo GetSupportInfo(LeapGraphicGroup group)
The support info class provides a very basic way to notify that something is fully supported,...
static SupportInfo Error(string message)
Helper getter to return a struct that signifies no support with an error message.
static SupportInfo FullSupport()
Helper getter to return a struct that signifies full support.