sculpto
Public Member Functions | Public Attributes | List of all members
scl::shader_props Struct Reference

#include <shader.h>

Public Member Functions

 shader_props ()=default
 
 shader_props (shader_type Type, const std::string &Source)
 

Public Attributes

shader_type Type {}
 
std::string Source {}
 

Detailed Description

Shader creation properties structure.

Definition at line 25 of file shader.h.

Constructor & Destructor Documentation

◆ shader_props() [1/2]

scl::shader_props::shader_props ( )
default

Shader properties default constructor.

◆ shader_props() [2/2]

scl::shader_props::shader_props ( shader_type  Type,
const std::string &  Source 
)
inline
  • Shader constructor by source code.
Parameters
Type- shader_props type.
Source- shader_props source code.

Definition at line 39 of file shader.h.

39: Type(Type), Source(Source) {}
shader_type Type
Definition: shader.h:27
std::string Source
Definition: shader.h:28

Member Data Documentation

◆ Source

std::string scl::shader_props::Source {}

Definition at line 28 of file shader.h.

◆ Type

shader_type scl::shader_props::Type {}

Definition at line 27 of file shader.h.


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