OGRE: Ogre::type4< T > Struct Template Reference

| OGRE 2.2.4 Object-Oriented Graphics Rendering Engine

Public Member Functions | Public Attributes | List of all members
Ogre::type4< T > Struct Template Reference

`#include <OgreShaderPrimitives.h>`

## Public Member Functions
| type4 ()
| type4 (const Vector2 &valXY, const Vector2 &valZW)
| type4 (const Vector4 &val)
Vector3 | toVec3 () const

## Public Attributes
T | w
T | x
T | y
T | z

## Constructor & Destructor Documentation

## ◆ type4() [1/3]

template<typename T >

Ogre::type4< T >::type4 | ( |  | ) |
| inline

## ◆ type4() [2/3]

template<typename T >

Ogre::type4< T >::type4 | ( | const Vector4 & | val | ) |
| inline

## ◆ type4() [3/3]

template<typename T >

Ogre::type4< T >::type4 | ( | const Vector2 & | valXY,
|  | const Vector2 & | valZW
| ) |  |
| inline

## Member Function Documentation

## ◆ toVec3()

template<typename T >

Vector3 Ogre::type4< T >::toVec3 | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ w

template<typename T >

T Ogre::type4< T >::w

## ◆ x

template<typename T >

T Ogre::type4< T >::x

Referenced by Ogre::type4< uint32 >::toVec3().

## ◆ y

template<typename T >

T Ogre::type4< T >::y

Referenced by Ogre::type4< uint32 >::toVec3().

## ◆ z

template<typename T >

T Ogre::type4< T >::z

Referenced by Ogre::type4< uint32 >::toVec3().

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

- OgreShaderPrimitives.h