CommonLibVR
RE::BSLightingShaderMaterialBase Class Referenceabstract

#include <BSLightingShaderMaterialBase.h>

Inheritance diagram for RE::BSLightingShaderMaterialBase:
RE::BSShaderMaterial RE::BSIntrusiveRefCounted RE::BSLightingShaderMaterial RE::BSLightingShaderMaterialEnvmap RE::BSLightingShaderMaterialEye RE::BSLightingShaderMaterialFacegen RE::BSLightingShaderMaterialFacegenTint RE::BSLightingShaderMaterialGlowmap RE::BSLightingShaderMaterialHairTint RE::BSLightingShaderMaterialLODLandscape RE::BSLightingShaderMaterialLandscape RE::BSLightingShaderMaterialMultiLayerParallax RE::BSLightingShaderMaterialParallax RE::BSLightingShaderMaterialParallaxOcc RE::BSLightingShaderMaterialSnow

Public Member Functions

 ~BSLightingShaderMaterialBase () override
 
BSShaderMaterialCreate () override=0
 
void CopyMembers (BSShaderMaterial *a_other) override
 
bool DoIsCopy (BSShaderMaterial *a_other) override
 
std::uint32_t ComputeCRC32 (void) override
 
BSShaderMaterialGetDefault () override
 
Feature GetFeature () const override
 
Type GetType () const override
 
virtual void OnLoadTextureSet (std::uint64_t a_arg1, BSTextureSet *a_textureSet)
 
virtual void ClearTextures ()
 
virtual void ReceiveValuesFromRootMaterial (bool a_skinned, bool a_rimLighting, bool a_softLighting, bool a_backLighting, bool a_MSN)
 
virtual void GetTextures (void)
 
virtual void SaveBinary (NiStream &a_stream)
 
virtual void LoadBinary (NiStream &a_stream)
 
void CopyBaseMembers (BSLightingShaderMaterialBase *a_other)
 
NiPointer< BSTextureSetGetTextureSet () const
 
void SetTextureSet (NiPointer< BSTextureSet > a_textureSet)
 
- Public Member Functions inherited from RE::BSShaderMaterial
virtual ~BSShaderMaterial ()
 
- Public Member Functions inherited from RE::BSIntrusiveRefCounted
std::uint32_t IncRef () const
 
std::uint32_t DecRef () const
 
 TES_HEAP_REDEFINE_NEW ()
 

Static Public Member Functions

static BSLightingShaderMaterialBaseCreateMaterial (Feature a_feature)
 
template<class T >
static T * CreateMaterial ()
 

Public Attributes

NiColor specularColor
 
std::uint32_t pad44
 
NiPointer< NiSourceTexturediffuseTexture
 
std::int32_t diffuseRenderTargetSourceIndex
 
std::uint32_t pad54
 
NiPointer< NiSourceTexturenormalTexture
 
NiPointer< NiSourceTexturerimSoftLightingTexture
 
NiPointer< NiSourceTexturespecularBackLightingTexture
 
std::int32_t textureClampMode
 
std::int32_t pad74
 
NiPointer< BSTextureSettextureSet
 
float materialAlpha
 
float refractionPower
 
float specularPower
 
float specularColorScale
 
float subSurfaceLightRolloff
 
float rimLightPower
 
std::uint64_t unk98
 
- Public Attributes inherited from RE::BSShaderMaterial
NiPoint2 texCoordOffset [2]
 
NiPoint2 texCoordScale [2]
 
std::uint32_t hashKey
 
std::uint32_t unk30
 
std::uint32_t unk34
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BSLightingShaderMaterialBase
 
static constexpr auto VTABLE = VTABLE_BSLightingShaderMaterialBase
 
- Static Public Attributes inherited from RE::BSShaderMaterial
static constexpr auto RTTI = RTTI_BSShaderMaterial
 
static constexpr auto VTABLE = VTABLE_BSShaderMaterial
 

Additional Inherited Members

- Public Types inherited from RE::BSShaderMaterial
enum class  Feature
 
enum class  Type { kBase = 0 , kEffect = 1 , kLighting = 2 , kWater = 3 }
 
- Protected Attributes inherited from RE::BSIntrusiveRefCounted
volatile std::uint32_t _refCount { 0 }
 

Constructor & Destructor Documentation

◆ ~BSLightingShaderMaterialBase()

RE::BSLightingShaderMaterialBase::~BSLightingShaderMaterialBase ( )
override

Member Function Documentation

◆ ClearTextures()

◆ ComputeCRC32()

◆ CopyBaseMembers()

void RE::BSLightingShaderMaterialBase::CopyBaseMembers ( BSLightingShaderMaterialBase a_other)

◆ CopyMembers()

◆ Create()

◆ CreateMaterial() [1/2]

template<class T >
T * RE::BSLightingShaderMaterialBase::CreateMaterial
static

◆ CreateMaterial() [2/2]

static BSLightingShaderMaterialBase* RE::BSLightingShaderMaterialBase::CreateMaterial ( Feature  a_feature)
static

◆ DoIsCopy()

bool RE::BSLightingShaderMaterialBase::DoIsCopy ( BSShaderMaterial a_other)
overridevirtual

Reimplemented from RE::BSShaderMaterial.

◆ GetDefault()

BSShaderMaterial* RE::BSLightingShaderMaterialBase::GetDefault ( )
overridevirtual

Reimplemented from RE::BSShaderMaterial.

◆ GetFeature()

◆ GetTextures()

◆ GetTextureSet()

NiPointer<BSTextureSet> RE::BSLightingShaderMaterialBase::GetTextureSet ( ) const

◆ GetType()

Type RE::BSLightingShaderMaterialBase::GetType ( ) const
overridevirtual

Reimplemented from RE::BSShaderMaterial.

◆ LoadBinary()

◆ OnLoadTextureSet()

◆ ReceiveValuesFromRootMaterial()

virtual void RE::BSLightingShaderMaterialBase::ReceiveValuesFromRootMaterial ( bool  a_skinned,
bool  a_rimLighting,
bool  a_softLighting,
bool  a_backLighting,
bool  a_MSN 
)
virtual

◆ SaveBinary()

◆ SetTextureSet()

void RE::BSLightingShaderMaterialBase::SetTextureSet ( NiPointer< BSTextureSet a_textureSet)

Member Data Documentation

◆ diffuseRenderTargetSourceIndex

std::int32_t RE::BSLightingShaderMaterialBase::diffuseRenderTargetSourceIndex

◆ diffuseTexture

NiPointer<NiSourceTexture> RE::BSLightingShaderMaterialBase::diffuseTexture

◆ materialAlpha

float RE::BSLightingShaderMaterialBase::materialAlpha

◆ normalTexture

NiPointer<NiSourceTexture> RE::BSLightingShaderMaterialBase::normalTexture

◆ pad44

std::uint32_t RE::BSLightingShaderMaterialBase::pad44

◆ pad54

std::uint32_t RE::BSLightingShaderMaterialBase::pad54

◆ pad74

std::int32_t RE::BSLightingShaderMaterialBase::pad74

◆ refractionPower

float RE::BSLightingShaderMaterialBase::refractionPower

◆ rimLightPower

float RE::BSLightingShaderMaterialBase::rimLightPower

◆ rimSoftLightingTexture

NiPointer<NiSourceTexture> RE::BSLightingShaderMaterialBase::rimSoftLightingTexture

◆ RTTI

constexpr auto RE::BSLightingShaderMaterialBase::RTTI = RTTI_BSLightingShaderMaterialBase
inlinestaticconstexpr

◆ specularBackLightingTexture

NiPointer<NiSourceTexture> RE::BSLightingShaderMaterialBase::specularBackLightingTexture

◆ specularColor

NiColor RE::BSLightingShaderMaterialBase::specularColor

◆ specularColorScale

float RE::BSLightingShaderMaterialBase::specularColorScale

◆ specularPower

float RE::BSLightingShaderMaterialBase::specularPower

◆ subSurfaceLightRolloff

float RE::BSLightingShaderMaterialBase::subSurfaceLightRolloff

◆ textureClampMode

std::int32_t RE::BSLightingShaderMaterialBase::textureClampMode

◆ textureSet

NiPointer<BSTextureSet> RE::BSLightingShaderMaterialBase::textureSet

◆ unk98

std::uint64_t RE::BSLightingShaderMaterialBase::unk98

◆ VTABLE

constexpr auto RE::BSLightingShaderMaterialBase::VTABLE = VTABLE_BSLightingShaderMaterialBase
inlinestaticconstexpr

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