ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

slang_storage_array Struct Reference

#include <slang_storage.h>

Data Fields

slang_storage_type type
struct slang_storage_aggregate_ * aggregate
GLuint length

Detailed Description

The slang_storage_array structure groups data slots of the same type into an array. This array has a fixed length. Arrays are required to have a size equal to the sum of sizes of its elements. They are also required to support indirect addressing. That is, if B references first data slot in the array, S is the size of the data slot and I is the integral index that is not known at compile time, B+I*S references I-th data slot.

This structure is also used to break down built-in data types that are not supported directly. Vectors, like vec3, are constructed from arrays of their basic types. Matrices are formed of an array of column vectors, which are in turn processed as other vectors.

Definition at line 72 of file slang_storage.h.


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

Generated on Fri May 25 2012 06:41:21 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.