Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Resources::ProgramInfos Struct Reference

Public Member Functions

 ProgramInfos (const std::string &vertex, const std::string &fragment, const std::string &tessControl, const std::string &tessEval)
 
 ProgramInfos (const std::string &compute)
 

Public Attributes

std::string vertexName
 Vertex shader filename.
 
std::string fragmentName
 Fragment shader filename.
 
std::string tessContName
 Tessellation control shader filename.
 
std::string tessEvalName
 Tessellation evaluation shader filename.
 
std::string computeName
 Compute shader filename.
 

Detailed Description

Additional program information for reloading.

Constructor & Destructor Documentation

◆ ProgramInfos() [1/2]

Resources::ProgramInfos::ProgramInfos ( const std::string &  vertex,
const std::string &  fragment,
const std::string &  tessControl,
const std::string &  tessEval 
)

Basic constructor.

Parameters
vertexvertex shader name
fragmentfragment shader name
tessControltessellation control shader name
tessEvaltessellation evaluation shader name

◆ ProgramInfos() [2/2]

Resources::ProgramInfos::ProgramInfos ( const std::string &  compute)

Basic constructor.

Parameters
computecompute shader name

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