Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::ShaderModuleDescriptor Struct Reference

#include <ShaderProgramFwd.h>

Public Member Functions

 ShaderModuleDescriptor ()=default
 
 ShaderModuleDescriptor (ShaderType type, const Str< 64 > &file, const Str< 64 > &variant="")
 

Public Attributes

ModuleDefines _defines
 
Str< 64 > _sourceFile
 
Str< 64 > _variant
 
ShaderType _moduleType = ShaderType::COUNT
 

Detailed Description

Definition at line 62 of file ShaderProgramFwd.h.

Constructor & Destructor Documentation

◆ ShaderModuleDescriptor() [1/2]

Divide::ShaderModuleDescriptor::ShaderModuleDescriptor ( )
default

◆ ShaderModuleDescriptor() [2/2]

Divide::ShaderModuleDescriptor::ShaderModuleDescriptor ( ShaderType  type,
const Str< 64 > &  file,
const Str< 64 > &  variant = "" 
)
explicit

Definition at line 766 of file ShaderProgram.cpp.

Member Data Documentation

◆ _defines

ModuleDefines Divide::ShaderModuleDescriptor::_defines

Definition at line 67 of file ShaderProgramFwd.h.

◆ _moduleType

ShaderType Divide::ShaderModuleDescriptor::_moduleType = ShaderType::COUNT

Definition at line 70 of file ShaderProgramFwd.h.

◆ _sourceFile

Str<64> Divide::ShaderModuleDescriptor::_sourceFile

Definition at line 68 of file ShaderProgramFwd.h.

◆ _variant

Str<64> Divide::ShaderModuleDescriptor::_variant

Definition at line 69 of file ShaderProgramFwd.h.


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