Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::SdlNamedOutputClauses Class Referencefinal

#include <SdlNamedOutputClauses.h>

Public Member Functions

void addUnique (SdlOutputClauses clauses, std::string_view clausesName)
 Add a unique named output clauses.
 
void addOrUpdate (SdlOutputClauses clauses, std::string_view clausesName)
 Add a named output clauses. Potentially update the existing one.
 
std::string_view addOrUpdate (SdlOutputClauses packet)
 Add a named output clauses with generated name. Potentially update the existing one.
 
void clear ()
 
std::size_t numNamedOutputClauses () const
 
const std::string & getName (std::size_t index) const
 Get named output clauses data. Ordering is the same as how they were added. The ones added later will have greater index.
 
const SdlOutputClausesgetOutputClauses (std::size_t index) const
 

Member Function Documentation

◆ addOrUpdate() [1/2]

void ph::SdlNamedOutputClauses::addOrUpdate ( SdlOutputClauses clauses,
std::string_view clausesName )

Add a named output clauses. Potentially update the existing one.

◆ addOrUpdate() [2/2]

std::string_view ph::SdlNamedOutputClauses::addOrUpdate ( SdlOutputClauses packet)

Add a named output clauses with generated name. Potentially update the existing one.

Returns
Generated name. Never contain whitespaces.

◆ addUnique()

void ph::SdlNamedOutputClauses::addUnique ( SdlOutputClauses clauses,
std::string_view clausesName )

Add a unique named output clauses.

◆ clear()

void ph::SdlNamedOutputClauses::clear ( )
inline

◆ getName()

const std::string & ph::SdlNamedOutputClauses::getName ( std::size_t index) const
inline

Get named output clauses data. Ordering is the same as how they were added. The ones added later will have greater index.

◆ getOutputClauses()

const SdlOutputClauses & ph::SdlNamedOutputClauses::getOutputClauses ( std::size_t index) const
inline

◆ numNamedOutputClauses()

std::size_t ph::SdlNamedOutputClauses::numNamedOutputClauses ( ) const
inline

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