Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Core::Asset::RawShaderMaterialData Class Reference

#include <Engine/Data/RawShaderMaterial.hpp>

+ Inheritance diagram for Ra::Core::Asset::RawShaderMaterialData:
+ Collaboration diagram for Ra::Core::Asset::RawShaderMaterialData:

Public Member Functions

 RawShaderMaterialData (const std::string &instanceName, const std::vector< std::pair< Ra::Engine::Data::ShaderType, std::string > > &shaders, std::shared_ptr< Ra::Engine::Data::ShaderParameterProvider > paramProvider)
 
 RawShaderMaterialData (const RawShaderMaterialData &)=delete
 
- Public Member Functions inherited from Ra::Core::Asset::MaterialData
 MaterialData (const std::string &name="", const std::string &type="AbstractMaterial")
 MATERIAL DATA.
 
void setName (const std::string &name)
 NAME.
 
std::string getType () const
 TYPE.
 
void setType (const std::string &type)
 
virtual void displayInfo () const
 DEBUG.
 
- Public Member Functions inherited from Ra::Core::Asset::AssetData
 AssetData (const std::string &name)
 Construct an asset data given its name.
 
 AssetData (const AssetData &other)=default
 Copy constructor. Default here.
 
virtual ~AssetData ()
 Simple delete operator.
 
virtual const std::stringgetName () const
 Acces to the name of the asset.
 

Friends

class Ra::Engine::Data::RawShaderMaterialConverter
 allow converter to access private members
 

Additional Inherited Members

- Protected Attributes inherited from Ra::Core::Asset::AssetData
std::string m_name
 

Detailed Description

External shaderMaterial representation

Definition at line 22 of file RawShaderMaterial.hpp.

Constructor & Destructor Documentation

◆ RawShaderMaterialData()

Ra::Core::Asset::RawShaderMaterialData::RawShaderMaterialData ( const std::string & instanceName,
const std::vector< std::pair< Ra::Engine::Data::ShaderType, std::string > > & shaders,
std::shared_ptr< Ra::Engine::Data::ShaderParameterProvider > paramProvider )
inline

Construct a shaderMaterialData from shader source and parameter provider

Parameters
instanceNameThe name of the material instance
shadersThe shaders to use for each pipeline stage (only one source per stage is allowed)
paramProviderThe parameter provider for the resulting program

Definition at line 35 of file RawShaderMaterial.hpp.

Friends And Related Symbol Documentation

◆ Ra::Engine::Data::RawShaderMaterialConverter

allow converter to access private members

Definition at line 25 of file RawShaderMaterial.hpp.


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