#include <SlrShader.h>
Public Member Functions | |
OutputPort (const char *_name, KnobType _type, void *sampler_func) | |
bool | hasChannel (DD::Image::Channel c) const |
Does the port provide the channel? | |
Public Attributes | |
const char * | name |
Pointer to the name string - no local copy is made! | |
KnobType | type |
Type of port. | |
void * | samplerFunc |
Sampler function, cast to correct class using 'type'. | |
int32_t | index |
Port position in OutputPortList. | |
bool | isVarying |
Is the port data constant or varying? | |
DD::Image::ChannelSet | channels |
Port's output channels (cached result from validateShader()) | |
bool | hasRgb |
Does port provide Chans RGB? (cached result from validateShader()) | |
bool | hasAlpha |
Does port provide Chan_Alpha? (cached result from validateShader()) | |
DD::Image::ChannelSet | requested |
Intersected set of channels and all requested channels (cached result from requestResources()) | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const OutputPort &b) |
Nuke-specific output mapping
©2025 The Foundry Visionmongers, Ltd. All Rights Reserved. |