API Reference
On this page
Public Types | |
| using | DefineSet = ::std::set<::std::string> |
| using | MaterialVariationMap = ::std::map<::std::string, ::std::shared_ptr<::cg::RenderMaterialBase>> |
Public Member Functions | |
| RenderMaterial & | operator= (RenderMaterial const &) |
| virtual::std::string | buildHeader (::std::set<::std::string > const &defines) |
| virtual void | parseRuntimeStates (::Json::Value const &root) |
| virtual void | parseShader (::Json::Value const &root) |
| virtual void | appendShaderPathForGfxAPI () |
| MCAPI | RenderMaterial (::std::vector<::mce::TextureFormat > const &defaultRenderTargetFormats) |
| MCAPI | RenderMaterial (::mce::RenderMaterial const &parent) |
| MCAPI::mce::ActorMaterialVariation | getActorVariation (::mce::MaterialRenderType renderType, bool pointLightShadingEnabled) |
| MCAPI ::std::optional<::mce::MaterialType > const | getMaterialType () |
| MCAPI bool | validateTextures (::ServerPBRTextureData const &textureData, ::HashedString const &renderControllerName) const |
| MCAPI void * | $ctor (::std::vector<::mce::TextureFormat > const &defaultRenderTargetFormats) |
| MCAPI void * | $ctor (::mce::RenderMaterial const &parent) |
| MCAPI void | $dtor () |
| MCAPI::std::string | $buildHeader (::std::set<::std::string > const &defines) |
| MCAPI void | $parseRuntimeStates (::Json::Value const &root) |
| MCAPI void | $parseShader (::Json::Value const &root) |
| MCAPI void | $appendShaderPathForGfxAPI () |
Static Public Member Functions | |
| static MCAPI void ** | $vftable () |
Public Attributes | |
| ::ll::TypedStorage< 2, 36, ::mce::VertexFormat > | mVertexFormat |
| ::ll::TypedStorage< 4, 4, ::mce::MSAASupport > | mMsaaSupport |
| ::ll::TypedStorage< 4, 4, float > | mDepthBias |
| ::ll::TypedStorage< 4, 4, float > | mSlopeScaledDepthBias |
| ::ll::TypedStorage< 1, 7, ::mce::BlendStateDescription > | blendStateDescription |
| ::ll::TypedStorage< 4, 24, ::mce::DepthStencilStateDescription > | depthStencilStateDescription |
| ::ll::TypedStorage< 4, 12, ::mce::RasterizerStateDescription > | rasterizerStateDescription |
| ::ll::TypedStorage< 4, 96, ::std::array<::mce::SamplerStateDescription, 8 > > | samplerStateDescriptions |
| ::ll::TypedStorage< 8, 16, ::std::set<::mce::VertexField > > | mVertexFields |
| ::ll::TypedStorage< 1, 1, ::mce::PrimitiveMode > | mPrimitiveMode |
| ::ll::TypedStorage< 8, 24, ::std::vector<::mce::TextureFormat > > | mDefaultRenderTargetFormats |
| ::ll::TypedStorage< 8, 24, ::std::vector<::std::vector<::mce::TextureFormat > > > | mRenderTargetFormats |
| ::ll::TypedStorage< 4, 8, ::std::optional<::mce::framebuilder::bgfxbridge::DefineFlags > > | mDefineFlags |
| ::ll::TypedStorage< 1, 2, ::std::optional<::mce::MaterialType > > | mMaterialType |
| ::ll::TypedStorage< 8, 264, ::std::optional<::mce::ActorMaterialVariation > > | mActorVariation |
| ::ll::TypedStorage< 1, 1, ::mce::MaterialRenderType > | mRenderType |
| ::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::std::shared_ptr<::cg::RenderMaterialBase > > > | mMaterialVariations |
| ::ll::TypedStorage< 8, 32, ::cg::VariationMap > | mVariationMap |
| ::ll::TypedStorage< 8, 32, ::std::string > | mFullMaterialName |
| ::ll::TypedStorage< 8, 32, ::std::string > | mVariantName |
| ::ll::TypedStorage< 8, 32, ::std::string > | mMaterialIdentifier |
| ::ll::TypedStorage< 8, 16, ::std::set<::std::string > > | mDefines |
| ::ll::TypedStorage< 2, 2, ::mce::RenderState > | mStateMask |
| ::ll::TypedStorage< 8, 32, ::std::string > | mShaderHeader |
| ::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > | mVertexShader |
| ::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > | mFragmentShader |
| ::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > | mGeometryShader |
| ::ll::TypedStorage< 8, 24, ::SemVersion > | mVersion |
| ::ll::TypedStorage< 1, 1, uchar > | mRequiredTextures |
|
virtual |
Implements cg::RenderMaterialBase.
|
virtual |
Reimplemented from cg::RenderMaterialBase.
|
virtual |
Implements cg::RenderMaterialBase.
| MCAPI::mce::ActorMaterialVariation mce::RenderMaterial::getActorVariation | ( | ::mce::MaterialRenderType | renderType, |
| bool | pointLightShadingEnabled ) |
| MCAPI ::std::optional<::mce::MaterialType > const mce::RenderMaterial::getMaterialType | ( | ) |
| MCAPI bool mce::RenderMaterial::validateTextures | ( | ::ServerPBRTextureData const & | textureData, |
| ::HashedString const & | renderControllerName ) const |
| MCAPI::std::string mce::RenderMaterial::$buildHeader | ( | ::std::set<::std::string > const & | defines | ) |
| MCAPI void mce::RenderMaterial::$parseRuntimeStates | ( | ::Json::Value const & | root | ) |
| MCAPI void mce::RenderMaterial::$parseShader | ( | ::Json::Value const & | root | ) |
| MCAPI void mce::RenderMaterial::$appendShaderPathForGfxAPI | ( | ) |
|
static |