|
Nebula
|
#include <primitivenode.h>
Inherits Models::ShaderStateNode.
Inherited by Models::CharacterSkinNode.
Classes | |
| struct | LoadContext |
Public Member Functions | |
| PrimitiveNode () | |
| constructor | |
| virtual | ~PrimitiveNode () |
| destructor | |
| uint | GetPrimitiveGroupIndex () const |
| Get the nodes primitive group index. | |
| uint | GetMeshIndex () const |
| Get the mesh index. | |
| const CoreGraphics::PrimitiveGroup & | GetPrimitiveGroup () const |
| Get primitive group. | |
| CoreGraphics::MeshId | GetMesh () const |
| Get primitives mesh id. | |
| Resources::ResourceId | GetMeshResource () const |
| Get mesh resource. | |
Public Member Functions inherited from Models::ShaderStateNode | |
| 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. | |
Protected Member Functions | |
| virtual bool | Load (const Util::FourCC &fourcc, const Util::StringAtom &tag, const Ptr< IO::BinaryReader > &reader, bool immediate) override |
| load primitive | |
| virtual void | Unload () override |
| unload data | |
| virtual void | OnFinishedLoading (ModelStreamingData *streamingData) override |
| called once when all pending resource have been loaded | |
Protected Member Functions inherited from Models::ShaderStateNode | |
| bool | Load (const Util::FourCC &fourcc, const Util::StringAtom &tag, const Ptr< IO::BinaryReader > &reader, bool immediate) override |
| load shader state | |
Protected Member Functions inherited from Models::ModelNode | |
| virtual void | Discard () |
| discard node | |
Friends | |
| class | ModelLoader |
Additional Inherited Members | |
Static Public Member Functions inherited from Models::ShaderStateNode | |
| static Util::FixedArray< CoreGraphics::ResourceTableId > | CreateResourceTables () |
| Create resource table. | |
Static Public Attributes inherited from Models::ShaderStateNode | |
| static const uint | NumMaxOffsets = 4 |
Static Protected Attributes inherited from Models::ModelNode | |
| static IndexT | ModelNodeUniqueIdCounter = 0 |
| Models::PrimitiveNode::PrimitiveNode | ( | ) |
constructor
|
virtual |
destructor
|
inline |
Get primitives mesh id.
|
inline |
Get the mesh index.
|
inline |
Get mesh resource.
|
inline |
Get primitive group.
|
inline |
Get the nodes primitive group index.
|
overrideprotectedvirtual |
load primitive
Reimplemented from Models::TransformNode.
Reimplemented in Models::CharacterSkinNode.
|
overrideprotectedvirtual |
called once when all pending resource have been loaded
Reimplemented from Models::ShaderStateNode.
Reimplemented in Models::CharacterSkinNode.
|
overrideprotectedvirtual |
unload data
Reimplemented from Models::ShaderStateNode.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |