|
FBX C++ API Reference
|
FbxSemanticEntryView stores a binding corresponding to a semantic within a shader file. More...
#include <fbxsemanticentryview.h>
Inheritance diagram for FbxSemanticEntryView:Public Member Functions | |
| void | SetSemantic (const char *pSemantic) |
| Set the semantic to the binding entry. More... | |
| FbxString | GetSemantic (bool pAppendIndex=true) const |
| Get the semantic from the binding entry. More... | |
| int | GetIndex () const |
| Get the semantic index suffix. More... | |
| const char * | EntryType () const override |
| Get the entry type. More... | |
Public Member Functions inherited from FbxEntryView | |
| virtual bool | IsValid () const |
| Check whether this entry view is valid or not. More... | |
| virtual bool | Create () |
| Create a new entry view. More... | |
| FbxEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false) | |
| Constructor. More... | |
| virtual | ~FbxEntryView () |
| Destructor. More... | |
Static Public Attributes | |
| static const char * | sEntryType |
| Name of the entry type used in the binding entry. More... | |
Static Public Attributes inherited from FbxEntryView | |
| static const char * | sEntryType |
| Entry type. More... | |
Constructor and Destructor. | |
| FbxSemanticEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false) | |
| Constructor. More... | |
| virtual | ~FbxSemanticEntryView () |
| Destructor. More... | |
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.
Definition at line 42 of file fbxsemanticentryview.h.
| 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 |
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 |
Get the semantic index suffix.
|
overridevirtual |
Get the entry type.
Reimplemented from FbxEntryView.
|
static |
Name of the entry type used in the binding entry.
It should be "FbxSemanticEntry" in this case.
Definition at line 49 of file fbxsemanticentryview.h.