Public Member Functions | |
| virtual const TCHAR * | GetFile () const =0 |
| Get texture filename. More... | |
| virtual void | SetFile (const TCHAR *File)=0 |
| Set texture filename. More... | |
| virtual void | SetData (const uint8 *InData, uint32 InDataSize, EDatasmithTextureFormat InFormat)=0 |
| Set the output data buffer, used only when no output filename is set. More... | |
| virtual const uint8 * | GetData (uint32 &OutDataSize, EDatasmithTextureFormat &OutFormat) const =0 |
| Retun the optional data, if loading from memory. More... | |
| virtual FMD5Hash | GetFileHash () const =0 |
| Return a MD5 hash of the content of the Texture Element. More... | |
| virtual void | SetFileHash (FMD5Hash Hash)=0 |
| Set the MD5 hash of the current texture file. More... | |
| virtual EDatasmithTextureMode | GetTextureMode () const =0 |
| Get texture usage. More... | |
| virtual void | SetTextureMode (EDatasmithTextureMode Mode)=0 |
| Set texture usage. More... | |
| virtual EDatasmithTextureFilter | GetTextureFilter () const =0 |
| Get texture filter. More... | |
| virtual void | SetTextureFilter (EDatasmithTextureFilter Filter)=0 |
| Set texture filter. More... | |
| virtual EDatasmithTextureAddress | GetTextureAddressX () const =0 |
| Get texture X axis address mode. More... | |
| virtual void | SetTextureAddressX (EDatasmithTextureAddress Mode)=0 |
| Set texture X axis address mode. More... | |
| virtual EDatasmithTextureAddress | GetTextureAddressY () const =0 |
| Get texture Y axis address mode. More... | |
| virtual void | SetTextureAddressY (EDatasmithTextureAddress Mode)=0 |
| Set texture Y axis address mode. More... | |
| virtual bool | GetAllowResize () const =0 |
| Get allow texture resizing. More... | |
| virtual void | SetAllowResize (bool bAllowResize)=0 |
| Set allow texture resizing. More... | |
| virtual float | GetRGBCurve () const =0 |
| Get texture gamma <= 0 for auto. More... | |
| virtual void | SetRGBCurve (const float InRGBCurve)=0 |
| Set texture gamma <= 0 for auto. More... | |
Public Member Functions inherited from IDatasmithElement | |
| virtual bool | IsA (EDatasmithElementType Type) const =0 |
| returns if this DatasmithElement is of a specified type More... | |
| virtual bool | IsSubType (uint64 SubType) const =0 |
| returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType More... | |
| virtual const TCHAR * | GetName () const =0 |
| Gets the element name. More... | |
| virtual void | SetName (const TCHAR *InName)=0 |
| Sets the element name. More... | |
| virtual const TCHAR * | GetLabel () const =0 |
| Gets the element label used in the UI. More... | |
| virtual void | SetLabel (const TCHAR *InLabel)=0 |
| Sets the element label used in the UI. More... | |
| virtual FMD5Hash | CalculateElementHash (bool bForce)=0 |
| Return a MD5 hash of the content of the Element. More... | |
|
pure virtual |
Get allow texture resizing.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Retun the optional data, if loading from memory.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Get texture filename.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Return a MD5 hash of the content of the Texture Element.
Used in CalculateElementHash to quickly identify Element with identical content
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Get texture gamma <= 0 for auto.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Get texture X axis address mode.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Get texture Y axis address mode.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Get texture filter.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Get texture usage.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set allow texture resizing.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set the output data buffer, used only when no output filename is set.
| InData | data to load the texture from |
| InDataSize | size in bytes of the buffer |
| InFormat | texture format(e.g. png or jpeg) |
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set texture filename.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set the MD5 hash of the current texture file.
This should be a hash of its content.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set texture gamma <= 0 for auto.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set texture X axis address mode.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set texture Y axis address mode.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set texture filter.
Implemented in FDatasmithTextureElementImpl.
|
pure virtual |
Set texture usage.
Implemented in FDatasmithTextureElementImpl.