LeviLamina
Loading...
Searching...
No Matches
cg::RenderMaterialBase Class Referenceabstract
Inheritance diagram for cg::RenderMaterialBase:

Public Types

using DefineSet = ::std::set<::std::string>
using MaterialVariationMap = ::std::map<::std::string, ::std::shared_ptr<::cg::RenderMaterialBase>>

Public Member Functions

RenderMaterialBase & operator= (RenderMaterialBase const &)
virtual void parseRuntimeStates (::Json::Value const &)=0
virtual void appendShaderPathForGfxAPI ()=0
virtual::std::string buildHeader (::std::set<::std::string > const &defines)
virtual void parseShader (::Json::Value const &root)
MCAPI_C RenderMaterialBase (::cg::RenderMaterialBase const &)
MCAPI_C void addDefine (::std::string const &define)
MCAPI_C void modifyDefines (::cg::RenderFeaturesConfiguration const &features)
MCAPI_C void parseDefines (::Json::Value const &root)
MCAPI_C void parseMaterial (::Json::Value const &root)
MCAPI_C void parseStates (::Json::Value const &root)
MCAPI_C bool parseVariantWithInheritance (::Json::Value const &root, ::std::string_view key, ::mce::InheritanceType inheritanceType)
MCAPI_C void parseVersion (::Json::Value const &root)
MCAPI_C void * $ctor ()
MCAPI_C void * $ctor (::cg::RenderMaterialBase const &)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI_C void warnOnDeprecatedSchemaKeyword (::Json::Value const &root, ::std::string_view key)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::std::shared_ptr<::cg::RenderMaterialBase > > > mMaterialVariations
::ll::TypedStorage< 8, 32, ::cg::VariationMapmVariationMap
::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, ::SemVersionmVersion
::ll::TypedStorage< 1, 1, uchar > mRequiredTextures

Member Function Documentation

◆ $vftable()

MCAPI void ** cg::RenderMaterialBase::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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