PeriDyno 0.8.2
Public Types | Public Member Functions | Static Public Attributes | List of all members
ofbx::Texture Struct Referenceabstract

#include <ofbx.h>

Inheritance diagram for ofbx::Texture:
Inheritance graph
[legend]
Collaboration diagram for ofbx::Texture:
Collaboration graph
[legend]

Public Types

enum  TextureType {
  DIFFUSE , NORMAL , SPECULAR , SHININESS ,
  AMBIENT , EMISSIVE , REFLECTION , COUNT
}
 
- Public Types inherited from ofbx::Object
enum class  Type {
  ROOT , GEOMETRY , SHAPE , MATERIAL ,
  MESH , TEXTURE , LIMB_NODE , NULL_NODE ,
  NODE_ATTRIBUTE , CLUSTER , SKIN , BLEND_SHAPE ,
  BLEND_SHAPE_CHANNEL , ANIMATION_STACK , ANIMATION_LAYER , ANIMATION_CURVE ,
  ANIMATION_CURVE_NODE , POSE
}
 

Public Member Functions

 Texture (const Scene &_scene, const IElement &_element)
 
virtual DataView getFileName () const =0
 
virtual DataView getRelativeFileName () const =0
 
virtual DataView getEmbeddedData () const =0
 
- Public Member Functions inherited from ofbx::Object
 Object (const Scene &_scene, const IElement &_element)
 
virtual ~Object ()
 
virtual Type getType () const =0
 
const IScenegetScene () const
 
ObjectresolveObjectLink (int idx) const
 
ObjectresolveObjectLink (Type type, const char *property, int idx) const
 
ObjectresolveObjectLinkReverse (Type type) const
 
ObjectgetParent () const
 
RotationOrder getRotationOrder () const
 
Vec3 getRotationOffset () const
 
Vec3 getRotationPivot () const
 
Vec3 getPostRotation () const
 
Vec3 getScalingOffset () const
 
Vec3 getScalingPivot () const
 
Vec3 getPreRotation () const
 
Vec3 getLocalTranslation () const
 
Vec3 getLocalRotation () const
 
Vec3 getLocalScaling () const
 
Matrix getGlobalTransform () const
 
Matrix getLocalTransform () const
 
Matrix evalLocal (const Vec3 &translation, const Vec3 &rotation) const
 
Matrix evalLocal (const Vec3 &translation, const Vec3 &rotation, const Vec3 &scaling) const
 
bool isNode () const
 
template<typename T >
TresolveObjectLink (int idx) const
 

Static Public Attributes

static const Type s_type = Type::TEXTURE
 

Additional Inherited Members

- Public Attributes inherited from ofbx::Object
u64 id
 
char name [128]
 
const IElementelement
 
const Objectnode_attribute
 
- Protected Attributes inherited from ofbx::Object
bool is_node
 
const Scenescene
 

Detailed Description

Definition at line 238 of file ofbx.h.

Member Enumeration Documentation

◆ TextureType

Enumerator
DIFFUSE 
NORMAL 
SPECULAR 
SHININESS 
AMBIENT 
EMISSIVE 
REFLECTION 
COUNT 

Definition at line 240 of file ofbx.h.

Constructor & Destructor Documentation

◆ Texture()

ofbx::Texture::Texture ( const Scene _scene,
const IElement _element 
)

Definition at line 1488 of file ofbx.cpp.

Member Function Documentation

◆ getEmbeddedData()

virtual DataView ofbx::Texture::getEmbeddedData ( ) const
pure virtual

Implemented in ofbx::TextureImpl.

◆ getFileName()

virtual DataView ofbx::Texture::getFileName ( ) const
pure virtual

Implemented in ofbx::TextureImpl.

◆ getRelativeFileName()

virtual DataView ofbx::Texture::getRelativeFileName ( ) const
pure virtual

Implemented in ofbx::TextureImpl.

Member Data Documentation

◆ s_type

const Type ofbx::Texture::s_type = Type::TEXTURE
static

Definition at line 252 of file ofbx.h.


The documentation for this struct was generated from the following files: