Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::Shader::Object Class Reference

Public Member Functions

 Object (Type type, const char *src)
 
 Object (Type type, const std::string &src)
 
 Object (Type type, const std::filesystem::path &path)
 

Data Fields

Type type
 
std::string src
 
std::optional< std::filesystem::path > path
 

Detailed Description

Definition at line 149 of file shader.hpp.

Constructor & Destructor Documentation

◆ Object() [1/3]

brenta::Shader::Object::Object ( Type  type,
const char *  src 
)
inline

Definition at line 158 of file shader.hpp.

◆ Object() [2/3]

brenta::Shader::Object::Object ( Type  type,
const std::string &  src 
)
inline

Definition at line 160 of file shader.hpp.

◆ Object() [3/3]

Shader::Object::Object ( Type  type,
const std::filesystem::path &  path 
)

Definition at line 376 of file shader.cpp.

Field Documentation

◆ path

std::optional<std::filesystem::path> brenta::Shader::Object::path

Definition at line 155 of file shader.hpp.

◆ src

std::string brenta::Shader::Object::src

Definition at line 154 of file shader.hpp.

◆ type

Type brenta::Shader::Object::type

Definition at line 153 of file shader.hpp.


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