FbxSemanticEntryView stores a binding corresponding to a semantic within a shader file.
A shader semantic is a parameter, a constant or an operator. So a shader semantic could bind with FbxProperty ( parameter, constant) and FbxBindingOperator (operator).
Here is a code snippet to show how it used.
FbxProperty lProp; FbxBindingTable lTable; FbxBindingTableEntry& lEntry = lBindingTable.AddNewEntry(); FbxPropertyEntryView lSrcView( lEntry, true, true); lSrcView.SetProperty( lProp.GetHierarchicalName()); FbxSemanticEntryView lDstView( &pEntry, false, true ); lDstView.SetSemantic( lProp.Getname());
Definition at line 42 of file fbxsemanticentryview.h.
#include <fbxsemanticentryview.h>

Public Member Functions | |
| void | SetSemantic (const char *pSemantic) |
| Set the semantic to the binding entry. | |
| FbxString | GetSemantic (bool pAppendIndex=true) const |
| Get the semantic from the binding entry. | |
| int | GetIndex () const |
| Get the semantic index suffix. | |
| virtual const char * | EntryType () const |
| Get the entry type. | |
Static Public Attributes | |
| static const char * | sEntryType |
| Name of the entry type used in the binding entry. | |
Constructor and Destructor. | |
| FbxSemanticEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false) | |
| Constructor. | |
| virtual | ~FbxSemanticEntryView () |
| Destructor. | |
| FbxSemanticEntryView | ( | FbxBindingTableEntry * | pEntry, |
| bool | pAsSource, | ||
| bool | pCreate = false |
||
| ) |
Constructor.
| pEntry | The binding table entry to create the entry view for. |
| pAsSource | true to create the entry view as source, false as destination. |
| pCreate | true to create the entry view, false otherwise. |
| virtual ~FbxSemanticEntryView | ( | ) | [virtual] |
Destructor.
| void SetSemantic | ( | const char * | pSemantic | ) |
Set the semantic to the binding entry.
| pSemantic | The semantic string to set. |
| FbxString GetSemantic | ( | bool | pAppendIndex = true | ) | const |
Get the semantic from the binding entry.
| pAppendIndex | true if the returned semantic append a index, false otherwise. |
| int GetIndex | ( | ) | const |
| virtual const char* EntryType | ( | ) | const [virtual] |
Get the entry type.
Reimplemented from FbxEntryView.
const char* sEntryType [static] |
Name of the entry type used in the binding entry.
It should be "FbxSemanticEntry" in this case.
Reimplemented from FbxEntryView.
Definition at line 49 of file fbxsemanticentryview.h.