|
Nebula
|
#include <shaderstatenode.h>
Inherits Models::TransformNode.
Inherited by Models::ParticleSystemNode, and Models::PrimitiveNode.
Classes | |
| struct | DrawPacket |
Public Member Functions | |
| ShaderStateNode () | |
| constructor | |
| virtual | ~ShaderStateNode () |
| destructor | |
| const Materials::MaterialId | GetMaterial () const |
| get surface | |
Public Member Functions inherited from Models::TransformNode | |
| TransformNode () | |
| constructor | |
| virtual | ~TransformNode () |
| destructor | |
| void | GetLODDistances (float &minDistance, float &maxDistance) |
| Get LOD distances. | |
Public Member Functions inherited from Models::ModelNode | |
| ModelNode () | |
| constructor | |
| virtual | ~ModelNode () |
| destructor | |
| const Util::Array< ModelNode * > & | GetChildren () const |
| return constant reference to children | |
| const NodeType | GetType () const |
| get type of node | |
| const NodeBits | GetBits () const |
| get feature bits of node | |
| virtual bool | GetImplicitHierarchyActivation () const |
| return true if all children should create hierarchies upon calling CreateInstance | |
| const Util::StringAtom & | GetName () const |
| return name | |
| const uint32_t | HashCode () const |
| get hash | |
| virtual std::function< void(const CoreGraphics::CmdBufferId)> | GetApplyFunction () |
| Get function to apply node. | |
| virtual std::function< const CoreGraphics::PrimitiveGroup()> | GetPrimitiveGroupFunction () |
| Get function to fetch primitive group. | |
Static Public Member Functions | |
| static Util::FixedArray< CoreGraphics::ResourceTableId > | CreateResourceTables () |
| Create resource table. | |
Static Public Attributes | |
| static const uint | NumMaxOffsets = 4 |
Protected Member Functions | |
| bool | Load (const Util::FourCC &fourcc, const Util::StringAtom &tag, const Ptr< IO::BinaryReader > &reader, bool immediate) override |
| load shader state | |
| virtual void | Unload () override |
| unload data | |
| virtual void | OnFinishedLoading (ModelStreamingData *streamingData) override |
| called when loading finished | |
Protected Member Functions inherited from Models::ModelNode | |
| virtual void | Discard () |
| discard node | |
Protected Attributes | |
| Resources::ResourceId | materialRes |
| Materials::MaterialId | material |
| Resources::ResourceName | materialName |
| Util::FixedArray< CoreGraphics::ResourceTableId > | resourceTables |
Protected Attributes inherited from Models::TransformNode | |
| Math::vec3 | position |
| Math::quat | rotate |
| Math::vec3 | scale |
| Math::vec3 | rotatePivot |
| Math::vec3 | scalePivot |
| bool | isInViewSpace |
| float | minDistance |
| float | maxDistance |
| bool | useLodDistances |
| bool | lockedToViewer |
Protected Attributes inherited from Models::ModelNode | |
| Util::StringAtom | name |
| NodeType | type |
| NodeBits | bits |
| Models::ModelNode * | parent |
| Util::Array< Models::ModelNode * > | children |
| Math::bbox | boundingBox |
| Util::StringAtom | tag |
| IndexT | uniqueId |
Friends | |
| class | ModelContext |
| class | ModelLoader |
Additional Inherited Members | |
Static Protected Attributes inherited from Models::ModelNode | |
| static IndexT | ModelNodeUniqueIdCounter = 0 |
| Models::ShaderStateNode::ShaderStateNode | ( | ) |
constructor
|
virtual |
destructor
|
static |
Create resource table.
|
inline |
get surface
|
overrideprotectedvirtual |
load shader state
Reimplemented from Models::TransformNode.
|
overrideprotectedvirtual |
called when loading finished
Reimplemented from Models::ModelNode.
Reimplemented in Models::CharacterSkinNode, Models::ParticleSystemNode, and Models::PrimitiveNode.
|
overrideprotectedvirtual |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
static |
|
protected |