BRL-CAD
ShaderGroup Class Reference

#include <oslexec_pvt.h>

Public Member Functions

 ShaderGroup ()
 
 ShaderGroup (const ShaderGroup &g)
 
 ~ShaderGroup ()
 
void clear ()
 
void append (ShaderInstanceRef newlayer)
 
int nlayers () const
 
ShaderInstanceoperator[] (int i) const
 
int optimized () const
 
void optimized (int opt)
 
size_t llvm_groupdata_size () const
 
void llvm_groupdata_size (size_t size)
 
RunLLVMGroupFunc llvm_compiled_version () const
 
void llvm_compiled_version (RunLLVMGroupFunc func)
 
bool does_nothing () const
 Is this shader group equivalent to ret void? More...
 
void does_nothing (bool new_val)
 
long long int executions () const
 
void start_running ()
 

Friends

class ShadingSystemImpl
 

Detailed Description

A ShaderGroup consists of one or more layers (each of which is a ShaderInstance), and the connections among them.

Definition at line 464 of file oslexec_pvt.h.

Constructor & Destructor Documentation

ShaderGroup ( const ShaderGroup g)

Member Function Documentation

void clear ( )
inline

Clear the layers

Definition at line 472 of file oslexec_pvt.h.

void append ( ShaderInstanceRef  newlayer)
inline

Append a new shader instance on to the end of this group

Definition at line 476 of file oslexec_pvt.h.

int nlayers ( ) const
inline

How many layers are in this group?

Definition at line 483 of file oslexec_pvt.h.

ShaderInstance* operator[] ( int  i) const
inline

Array indexing returns the i-th layer of the group

Definition at line 487 of file oslexec_pvt.h.

int optimized ( ) const
inline

Definition at line 489 of file oslexec_pvt.h.

void optimized ( int  opt)
inline

Definition at line 490 of file oslexec_pvt.h.

size_t llvm_groupdata_size ( ) const
inline

Definition at line 492 of file oslexec_pvt.h.

void llvm_groupdata_size ( size_t  size)
inline

Definition at line 493 of file oslexec_pvt.h.

RunLLVMGroupFunc llvm_compiled_version ( ) const
inline

Definition at line 495 of file oslexec_pvt.h.

void llvm_compiled_version ( RunLLVMGroupFunc  func)
inline

Definition at line 498 of file oslexec_pvt.h.

bool does_nothing ( ) const
inline

Is this shader group equivalent to ret void?

Definition at line 503 of file oslexec_pvt.h.

void does_nothing ( bool  new_val)
inline

Definition at line 506 of file oslexec_pvt.h.

long long int executions ( ) const
inline

Definition at line 510 of file oslexec_pvt.h.

void start_running ( )
inline

Definition at line 512 of file oslexec_pvt.h.

Friends And Related Function Documentation

friend class ShadingSystemImpl
friend

Definition at line 526 of file oslexec_pvt.h.


The documentation for this class was generated from the following file: