OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
uvec2 Struct Reference

#include <vector_math.h>

Public Types

enum  { vector_size = 2 }
 
typedef uint32_t data_type
 
typedef uvec2 vector_type
 

Public Member Functions

 uvec2 ()
 
 uvec2 (uint32_t s)
 
 uvec2 (uint32_t x, uint32_t y)
 
 uvec2 (const uint32_t *vec)
 
 operator vec2 () const
 

Public Attributes

union {
   struct {
      uint32_t   x
 
      uint32_t   y
 
   }   c
 
   uint32_t   data [2]
 
}; 
 

Detailed Description

Definition at line 62 of file vector_math.h.

Member Typedef Documentation

typedef uint32_t uvec2::data_type

Definition at line 76 of file vector_math.h.

Definition at line 77 of file vector_math.h.

Member Enumeration Documentation

anonymous enum
Enumerator
vector_size 

Definition at line 75 of file vector_math.h.

Constructor & Destructor Documentation

uvec2::uvec2 ( )
inline

Definition at line 78 of file vector_math.h.

uvec2::uvec2 ( uint32_t  s)
inline

Definition at line 79 of file vector_math.h.

uvec2::uvec2 ( uint32_t  x,
uint32_t  y 
)
inline

Definition at line 80 of file vector_math.h.

uvec2::uvec2 ( const uint32_t *  vec)
inline

Definition at line 81 of file vector_math.h.

Member Function Documentation

uvec2::operator vec2 ( ) const
inline

Definition at line 82 of file vector_math.h.

Member Data Documentation

union { ... }
struct { ... } uvec2::c
uint32_t uvec2::data[2]

Definition at line 73 of file vector_math.h.

uint32_t uvec2::x

Definition at line 68 of file vector_math.h.

uint32_t uvec2::y

Definition at line 68 of file vector_math.h.


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