CommonLibSSE (powerof3)
RE::NiAlphaProperty Class Reference

#include <NiAlphaProperty.h>

Inheritance diagram for RE::NiAlphaProperty:
RE::NiProperty RE::NiObjectNET RE::NiObject RE::NiRefObject

Public Types

enum class  AlphaFunction {
  kOne , kZero , kSrcColor , kInvSrcColor ,
  kDestColor , kInvDestColor , kSrcAlpha , kInvSrcAlpha ,
  kDestAlpha , kInvDestAlpha , kSrcAlphaSat
}
 
enum class  TestFunction {
  kAlways , kLess , kEqual , kLessEqual ,
  kGreater , kNotEqual , kGreaterEqual , kNever
}
 
- Public Types inherited from RE::NiProperty
enum class  Type { kAlpha = 0 , kShade = 1 }
 

Public Member Functions

 ~NiAlphaProperty () override
 
const NiRTTIGetRTTI () const override
 
NiObjectCreateClone (NiCloningProcess &a_cloning) override
 
void LoadBinary (NiStream &a_stream) override
 
void LinkObject (NiStream &a_stream) override
 
bool RegisterStreamables (NiStream &a_stream) override
 
void SaveBinary (NiStream &a_stream) override
 
bool IsEqual (NiObject *a_object) override
 
Type GetType () const override
 
bool GetAlphaBlending () const
 
bool GetAlphaTesting () const
 
AlphaFunction GetDestBlendMode () const
 
AlphaFunction GetSrcBlendMode () const
 
void SetAlphaBlending (bool a_enable)
 
void SetAlphaTesting (bool a_enable)
 
void SetDestBlendMode (AlphaFunction a_mode)
 
void SetSrcBlendMode (AlphaFunction a_mode)
 
- Public Member Functions inherited from RE::NiProperty
 ~NiProperty () override
 
const NiRTTIGetRTTI () const override
 
void LoadBinary (NiStream &a_stream) override
 
void LinkObject (NiStream &a_stream) override
 
bool RegisterStreamables (NiStream &a_stream) override
 
void SaveBinary (NiStream &a_stream) override
 
bool IsEqual (NiObject *a_object) override
 
void ProcessClone (NiCloningProcess &a_cloning) override
 
virtual void Update (float a_time)
 
- Public Member Functions inherited from RE::NiObjectNET
 ~NiObjectNET () override
 
void LoadBinary (NiStream &a_stream) override
 
void LinkObject (NiStream &a_stream) override
 
void SaveBinary (NiStream &a_stream) override
 
void PostLinkObject (NiStream &a_stream) override
 
bool AddExtraData (const BSFixedString &a_key, NiExtraData *a_extra)
 
bool AddExtraData (NiExtraData *a_extra)
 
void DeleteExtraData (std::uint16_t a_extraDataIndex)
 
NiTimeControllerGetControllers () const
 
NiTimeControllerGetController (const NiRTTI *a_rtti) const
 
template<class T >
T * GetController () const
 
NiExtraDataGetExtraData (const BSFixedString &a_key) const
 
template<class T >
T * GetExtraData (const BSFixedString &a_key) const
 
NiExtraDataGetExtraDataAt (std::uint16_t a_extraDataIndex) const
 
std::uint16_t GetExtraDataSize () const
 
bool HasExtraData (const BSFixedString &a_key) const
 
bool InsertExtraData (NiExtraData *a_extra)
 
void RemoveAllExtraData ()
 
bool RemoveExtraData (const BSFixedString &a_key)
 
bool RemoveExtraDataAt (std::uint16_t a_extraDataIndex)
 
bool SetExtraDataSize (std::uint16_t a_size)
 
- Public Member Functions inherited from RE::NiObject
 ~NiObject () override=default
 
virtual NiNodeAsNode ()
 
virtual NiSwitchNode * AsSwitchNode ()
 
virtual BSFadeNodeAsFadeNode ()
 
virtual BSMultiBoundNodeAsMultiBoundNode ()
 
virtual BSGeometryAsGeometry ()
 
virtual NiTriStrips * AsTriStrips ()
 
virtual BSTriShapeAsTriShape ()
 
virtual BSSegmentedTriShape * AsSegmentedTriShape ()
 
virtual BSSubIndexTriShape * AsSubIndexTriShape ()
 
virtual BSDynamicTriShapeAsDynamicTriShape ()
 
virtual NiGeometryAsNiGeometry ()
 
virtual NiTriBasedGeom * AsNiTriBasedGeom ()
 
virtual NiTriShapeAsNiTriShape ()
 
virtual NiParticlesAsParticlesGeom ()
 
virtual BSLines * AsLinesGeom ()
 
virtual bhkNiCollisionObjectAsBhkNiCollisionObject ()
 
virtual bhkBlendCollisionObject * AsBhkBlendCollisionObject ()
 
virtual bhkAttachmentCollisionObject * AsBhkAttachmentCollisionObject ()
 
virtual bhkRigidBodyAsBhkRigidBody ()
 
virtual bhkLimitedHingeConstraint * AsBhkLimitedHingeConstraint ()
 
virtual NiObjectCreateClone ([[maybe_unused]] NiCloningProcess &a_cloning)
 
virtual void LoadBinary ([[maybe_unused]] NiStream &a_stream)
 
virtual void LinkObject ([[maybe_unused]] NiStream &a_stream)
 
virtual void SaveBinary ([[maybe_unused]] NiStream &a_stream)
 
virtual void PostLinkObject ([[maybe_unused]] NiStream &a_stream)
 
virtual bool StreamCanSkip ()
 
virtual const NiRTTIGetStreamableRTTI () const
 
virtual std::uint32_t GetBlockAllocationSize () const
 
virtual NiObjectGroupGetGroup () const
 
virtual void SetGroup ([[maybe_unused]] NiObjectGroup *a_group)
 
virtual NiControllerManagerAsNiControllerManager ()
 
void CreateDeepCopy (NiPointer< NiObject > &a_object)
 
- Public Member Functions inherited from RE::NiRefObject
 NiRefObject ()
 
virtual ~NiRefObject ()
 
virtual void DeleteThis ()
 
void IncRefCount ()
 
void DecRefCount ()
 
constexpr std::uint32_t GetRefCount () const noexcept
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

std::uint16_t alphaFlags
 
std::uint8_t alphaThreshold
 
std::uint8_t pad33
 
std::uint32_t pad34
 
- Public Attributes inherited from RE::NiObjectNET
BSFixedString name
 
NiPointer< NiTimeControllercontrollers
 
NiExtraData ** extra
 
std::uint16_t extraDataSize
 
std::uint16_t maxSize
 
std::uint32_t pad2C
 
- Public Attributes inherited from RE::NiRefObject
volatile std::uint32_t _refCount { 0 }
 
std::uint32_t _pad0C { 0 }
 

Static Public Attributes

static constexpr auto RTTI = RTTI_NiAlphaProperty
 
static constexpr auto Ni_RTTI = NiRTTI_NiAlphaProperty
 
static constexpr auto VTABLE = VTABLE_NiAlphaProperty
 
- Static Public Attributes inherited from RE::NiProperty
static constexpr auto RTTI = RTTI_NiProperty
 
static constexpr auto Ni_RTTI = NiRTTI_NiProperty
 
static constexpr auto VTABLE = VTABLE_NiProperty
 
- Static Public Attributes inherited from RE::NiObjectNET
static constexpr auto RTTI = RTTI_NiObjectNET
 
static constexpr auto Ni_RTTI = NiRTTI_NiObjectNET
 
static constexpr auto VTABLE = VTABLE_NiObjectNET
 
- Static Public Attributes inherited from RE::NiObject
static constexpr auto RTTI = RTTI_NiObject
 
static constexpr auto Ni_RTTI = NiRTTI_NiObject
 
static constexpr auto VTABLE = VTABLE_NiObject
 
- Static Public Attributes inherited from RE::NiRefObject
static constexpr auto RTTI = RTTI_NiRefObject
 
static constexpr auto VTABLE = VTABLE_NiRefObject
 

Additional Inherited Members

- Static Public Member Functions inherited from RE::NiRefObject
static volatile std::uint32_t * GetTotalObjectCount ()
 

Member Enumeration Documentation

◆ AlphaFunction

Enumerator
kOne 
kZero 
kSrcColor 
kInvSrcColor 
kDestColor 
kInvDestColor 
kSrcAlpha 
kInvSrcAlpha 
kDestAlpha 
kInvDestAlpha 
kSrcAlphaSat 

◆ TestFunction

Enumerator
kAlways 
kLess 
kEqual 
kLessEqual 
kGreater 
kNotEqual 
kGreaterEqual 
kNever 

Constructor & Destructor Documentation

◆ ~NiAlphaProperty()

RE::NiAlphaProperty::~NiAlphaProperty ( )
override

Member Function Documentation

◆ CreateClone()

NiObject* RE::NiAlphaProperty::CreateClone ( NiCloningProcess a_cloning)
override

◆ GetAlphaBlending()

bool RE::NiAlphaProperty::GetAlphaBlending ( ) const

◆ GetAlphaTesting()

bool RE::NiAlphaProperty::GetAlphaTesting ( ) const

◆ GetDestBlendMode()

AlphaFunction RE::NiAlphaProperty::GetDestBlendMode ( ) const

◆ GetRTTI()

const NiRTTI* RE::NiAlphaProperty::GetRTTI ( ) const
overridevirtual

Reimplemented from RE::NiObject.

◆ GetSrcBlendMode()

AlphaFunction RE::NiAlphaProperty::GetSrcBlendMode ( ) const

◆ GetType()

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

Implements RE::NiProperty.

◆ IsEqual()

bool RE::NiAlphaProperty::IsEqual ( NiObject a_object)
overridevirtual

Reimplemented from RE::NiObject.

◆ LinkObject()

void RE::NiAlphaProperty::LinkObject ( NiStream a_stream)
override

◆ LoadBinary()

void RE::NiAlphaProperty::LoadBinary ( NiStream a_stream)
override

◆ RegisterStreamables()

bool RE::NiAlphaProperty::RegisterStreamables ( NiStream a_stream)
overridevirtual

Reimplemented from RE::NiObject.

◆ SaveBinary()

void RE::NiAlphaProperty::SaveBinary ( NiStream a_stream)
override

◆ SetAlphaBlending()

void RE::NiAlphaProperty::SetAlphaBlending ( bool  a_enable)

◆ SetAlphaTesting()

void RE::NiAlphaProperty::SetAlphaTesting ( bool  a_enable)

◆ SetDestBlendMode()

void RE::NiAlphaProperty::SetDestBlendMode ( AlphaFunction  a_mode)

◆ SetSrcBlendMode()

void RE::NiAlphaProperty::SetSrcBlendMode ( AlphaFunction  a_mode)

Member Data Documentation

◆ alphaFlags

std::uint16_t RE::NiAlphaProperty::alphaFlags

◆ alphaThreshold

std::uint8_t RE::NiAlphaProperty::alphaThreshold

◆ Ni_RTTI

constexpr auto RE::NiAlphaProperty::Ni_RTTI = NiRTTI_NiAlphaProperty
inlinestaticconstexpr

◆ pad33

std::uint8_t RE::NiAlphaProperty::pad33

◆ pad34

std::uint32_t RE::NiAlphaProperty::pad34

◆ RTTI

constexpr auto RE::NiAlphaProperty::RTTI = RTTI_NiAlphaProperty
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::NiAlphaProperty::VTABLE = VTABLE_NiAlphaProperty
inlinestaticconstexpr

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