Radium Engine
1.5.20
|
#include <Engine/Data/RawShaderMaterial.hpp>
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::string & | getName () 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 |
External shaderMaterial representation
Definition at line 22 of file RawShaderMaterial.hpp.
|
inline |
Construct a shaderMaterialData from shader source and parameter provider
instanceName | The name of the material instance |
shaders | The shaders to use for each pipeline stage (only one source per stage is allowed) |
paramProvider | The parameter provider for the resulting program |
Definition at line 35 of file RawShaderMaterial.hpp.
|
friend |
allow converter to access private members
Definition at line 25 of file RawShaderMaterial.hpp.