Midnight Graphics
Create Fast and Simple Graphics in C++
mn::Graphics::Shader Struct Reference
Inheritance diagram for mn::Graphics::Shader:
mn::Graphics::ObjectHandle< Shader >

Classes

struct  Attribute
 

Public Member Functions

MN_SYMBOL Shader (std::filesystem::path path, ShaderType type)
 
MN_SYMBOL void fromFile (std::filesystem::path path, ShaderType type)
 
MN_SYMBOL void fromString (const std::string &contents, ShaderType type, const std::string &path="")
 
MN_SYMBOL void fromSpv (const std::vector< uint32_t > &contents, ShaderType type)
 
auto getType () const
 
const auto & getAttributes () const
 
- Public Member Functions inherited from mn::Graphics::ObjectHandle< Shader >
 ObjectHandle (Handle< Shader > h=nullptr)
 
auto getHandle () const
 

Friends

struct Pipeline
 

Additional Inherited Members

- Protected Attributes inherited from mn::Graphics::ObjectHandle< Shader >
Handle< Shaderhandle
 

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