Nuke binary plugins 16.1.1
 
Loading...
Searching...
No Matches
slr::StxLayeringStackBundle Class Reference

#include <SlrShadingContext.h>

Classes

struct  iterator
 Iterator support. More...
 

Public Types

using ListT = std::vector< StxLayeringStack * >
 
using const_iterator = iterator
 

Public Member Functions

 operator bool () const
 Returns true is bundle is not empty.
 
int32_t size () const
 
bool empty () const
 
void reserve (int32_t n)
 
void addRayLayeringStack (const SlrRayContext &Rtx)
 Adds a reference the layering stack in ray Rtx to the bundle.
 
void addStack (StxLayeringStack &stack)
 
StxLayeringStackoperator[] (int32_t i)
 
StxLayeringStackoperator[] (int32_t i) const
 
void clear ()
 Clears the size of the bundle to zero, does not release any allocations.
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 

Protected Member Functions

 StxLayeringStackBundle (const StxLayeringStackBundle &)=delete
 
void operator= (const StxLayeringStackBundle &)=delete
 

Protected Attributes

ListT _list
 

Friends

class ThreadContext
 
class SlrIntegratorContext
 
struct SlrRayContext
 
std::ostream & operator<< (std::ostream &o, const StxLayeringStackBundle &)
 

Detailed Description

Stores a list of references to StxLayeringStacks generated by the integrator. This bundle does not manage the memory of the stacks and only stores pointers to them.



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