gKit2 light
Loading...
Searching...
No Matches
glsl::array::gscalar< T > Struct Template Reference

Public Member Functions

 gscalar (const T &v)
gscalar & operator= (const T &v)
 operator T ()

Public Attributes

x

Detailed Description

template<typename T>
struct glsl::array::gscalar< T >

Definition at line 101 of file tuto_uniform_buffers.cpp.

Constructor & Destructor Documentation

◆ gscalar() [1/2]

template<typename T>
glsl::array::gscalar< T >::gscalar ( )
inline

Definition at line 105 of file tuto_uniform_buffers.cpp.

◆ gscalar() [2/2]

template<typename T>
glsl::array::gscalar< T >::gscalar ( const T & v)
inline

Definition at line 106 of file tuto_uniform_buffers.cpp.

106: x(v) {}

Member Function Documentation

◆ operator=()

template<typename T>
gscalar & glsl::array::gscalar< T >::operator= ( const T & v)
inline

Definition at line 107 of file tuto_uniform_buffers.cpp.

107{ x= v; return *this; }

◆ operator T()

template<typename T>
glsl::array::gscalar< T >::operator T ( )
inline

Definition at line 108 of file tuto_uniform_buffers.cpp.

108{ return x; }

Member Data Documentation

◆ x

template<typename T>
T glsl::array::gscalar< T >::x

Definition at line 103 of file tuto_uniform_buffers.cpp.


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