Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Helpers.Buffers.Buffer3d< T > Class Template Reference

A class that contains data of type T in a 3D space More...

Public Member Functions

 Buffer3d (int w, int l, int h)
 Create a buffer with the given width, length, and height More...
 

Public Attributes

readonly int Width
 The width of the buffer More...
 
readonly int Length
 The length of the buffer More...
 
readonly int Height
 The height of the buffer More...
 

Detailed Description

A class that contains data of type T in a 3D space

Constructor & Destructor Documentation

pluginbase.Helpers.Buffers.Buffer3d< T >.Buffer3d ( int  w,
int  l,
int  h 
)

Create a buffer with the given width, length, and height

Parameters
wThe width.
lL.
hThe height.

Attribute: w*l*h

;

34  {
35  Width = w;
36  Length = l;
37  Height = h;
38  _data = new T[w*l*h];
39  }
readonly int Length
The length of the buffer
Definition: Buffer3d.cs:17
readonly int Height
The height of the buffer
Definition: Buffer3d.cs:22
readonly int Width
The width of the buffer
Definition: Buffer3d.cs:12

Member Data Documentation

readonly int pluginbase.Helpers.Buffers.Buffer3d< T >.Height

The height of the buffer

readonly int pluginbase.Helpers.Buffers.Buffer3d< T >.Length

The length of the buffer

readonly int pluginbase.Helpers.Buffers.Buffer3d< T >.Width

The width of the buffer


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