LeviLamina
Loading...
Searching...
No Matches
mce::RenderMaterial Class Reference
Inheritance diagram for mce::RenderMaterial:

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 (::mce::RenderMaterial const &)
MCAPI RenderMaterial (::std::vector<::mce::TextureFormat > const &defaultRenderTargetFormats)
MCAPI::mce::ActorMaterialVariation getActorVariation (::mce::MaterialRenderType renderType)
MCAPI::mce::framebuilder::bgfxbridge::DefineFlags const getDefinesFlags ()
MCAPI ::std::optional<::mce::MaterialType > const getMaterialType ()
MCAPI void parseDepthStencilState (::Json::Value const &root)
MCAPI void parseRenderTargetFormat (::Json::Value const &root)
MCAPI void parseSamplers (::Json::Value const &root)
MCAPI void parseVertexFields (::Json::Value const &root)
MCAPI void * $ctor (::mce::RenderMaterial const &)
MCAPI void * $ctor (::std::vector<::mce::TextureFormat > const &defaultRenderTargetFormats)
MCAPI void $dtor ()
MCAPI::std::string $buildHeader (::std::set<::std::string > const &defines)
MCAPI void $parseRuntimeStates (::Json::Value const &root)
MCFOLD void $parseShader (::Json::Value const &root)
MCFOLD void $appendShaderPathForGfxAPI ()
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 &)

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 2, 34, ::mce::VertexFormatmVertexFormat
::ll::TypedStorage< 4, 4, ::mce::MSAASupport > mMsaaSupport
::ll::TypedStorage< 4, 4, float > mDepthBias
::ll::TypedStorage< 4, 4, float > mSlopeScaledDepthBias
::ll::TypedStorage< 1, 7, ::mce::BlendStateDescriptionblendStateDescription
::ll::TypedStorage< 4, 24, ::mce::DepthStencilStateDescriptiondepthStencilStateDescription
::ll::TypedStorage< 4, 12, ::mce::RasterizerStateDescriptionrasterizerStateDescription
::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::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

◆ parseRuntimeStates()

virtual void mce::RenderMaterial::parseRuntimeStates ( ::Json::Value const & root)
virtual

◆ parseShader()

virtual void mce::RenderMaterial::parseShader ( ::Json::Value const & root)
virtual

Reimplemented from cg::RenderMaterialBase.

◆ appendShaderPathForGfxAPI()

virtual void mce::RenderMaterial::appendShaderPathForGfxAPI ( )
virtual

◆ $vftable()

MCAPI void ** mce::RenderMaterial::$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 files: