Nuke binary plugins 15.1.4
 
Loading...
Searching...
No Matches
slr::SlrShaderGroup< ShaderT > Struct Template Reference

#include <SlrShader.h>

Public Member Functions

size_t size () const
 
bool empty () const
 
bool isValid () const
 
SlrShader * getShaderNode (const std::string &shader_node_name) const
 Return the named shader, or null if not in group.
 
void deleteShaders ()
 Convenience function to delete shader pointers and empty the group.
 

Public Attributes

SlrShaderMap shaders
 Shaders with name mapping for connections.
 
ShaderT * output
 Shader graph entry point.
 
fdk::Hash topologyHash
 Does the shader graph need to be rebuilt?
 
fdk::Hash propertyHash
 Do the shaders need parameter updating?
 

Detailed Description

template<class ShaderT>
struct slr::SlrShaderGroup< ShaderT >

A list of SlrShader pointers and the group's output.

The pointers are not managed by this class but there's convenience methods to help delete them and clear out the group.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com