Rasterfarm-SDK
Loading...
Searching...
No Matches
Pixel::Skeletal Class Reference

#include <skeletal.h>

Inheritance diagram for Pixel::Skeletal:
Pixel::Factor Component

Public Member Functions

 Skeletal (uint boneSize, uint blends, const Attribute &attribute)
 
virtual ~Skeletal ()
 
void setColor (const Vertex4f &color, uint index)
 
virtual void create (Material *pMaterial)
 
virtual void update (Material *pMaterial)
 
virtual void addShaderResources (Material *pMaterial)
 
virtual void addShaderCode (Material *pMaterial)
 
- Public Member Functions inherited from Pixel::Factor
 Factor (const Attribute &attribute)
 
virtual ~Factor ()
 

Static Public Attributes

static const String & indexAttributeString
 
static const String & weightAttributeString
 
static const String varyingString
 
static const String uniformString
 

Protected Attributes

uint boneSize
 
uint blends
 
Vector4fArray boneColor
 

Constructor & Destructor Documentation

◆ Skeletal()

Pixel::Skeletal::Skeletal ( uint boneSize,
uint blends,
const Attribute & attribute )
Parameters
Thenumber of bones/joints in this Skeleton.
Thenumber of matrixes to blend. Zero indicates no-blending. NOTE: This must be the same as as Model::Skeletal

◆ ~Skeletal()

virtual Pixel::Skeletal::~Skeletal ( )
virtual

Member Function Documentation

◆ addShaderCode()

virtual void Pixel::Skeletal::addShaderCode ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ addShaderResources()

virtual void Pixel::Skeletal::addShaderResources ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ create()

virtual void Pixel::Skeletal::create ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ setColor()

void Pixel::Skeletal::setColor ( const Vertex4f & color,
uint index )

◆ update()

virtual void Pixel::Skeletal::update ( Material * pMaterial)
virtual

Implements Pixel::Factor.

Member Data Documentation

◆ blends

uint Pixel::Skeletal::blends
protected

◆ boneColor

Vector4fArray Pixel::Skeletal::boneColor
protected

◆ boneSize

uint Pixel::Skeletal::boneSize
protected

◆ indexAttributeString

const String& Pixel::Skeletal::indexAttributeString
static

◆ uniformString

const String Pixel::Skeletal::uniformString
static

◆ varyingString

const String Pixel::Skeletal::varyingString
static

◆ weightAttributeString

const String& Pixel::Skeletal::weightAttributeString
static

The documentation for this class was generated from the following file: