osg.Vec4s
是OpenSceneGraph中的一个四维短整型向量类。
osg::ValueBase
→ osg::Vec4s
#include <osg/Vec4s>
Vec4s()
Vec4s(short _x, short _y, short _z, short _w)
Vec4s(const Vec4s& rhs)
void set(short _x, short _y, short _z, short _w)
short* ptr()
const short* ptr() const
void set_value(const void* value)
void* as_void_ptr()
const void* as_void_ptr() const
int compare(const osg::Vec4s& rhs) const
static const int num_components = 4
short _v[4]
bool operator < (const Vec4s& rhs) const
bool operator == (const Vec4s& rhs) const
bool operator != (const Vec4s& rhs) const
short& operator [] (int i)
const short& operator [] (int i) const