Data container for application vertex data: four 64-bit integer values.
sealed class
|
Long4
|
extends
|
Long0
|
Returns the capacity of this object.
public
property
|
Capacity
{
get
}
|
||
type
|
int32
|
||
value
|
|
The capacity, in elements. | |
inherited
|
CapacityBase.Capacity
|
Returns the estimated memory consumption of this object.
public
property
|
MemoryConsumption
{
get
}
|
||
type
|
int64
|
||
value
|
|
The estimated memory consumption, in bytes. | |
inherited
|
VertexArray.MemoryConsumption
|
The tuple size.
public
property
|
TupleSize
{
get
}
|
||
type
|
int32
|
||
value
|
|
The tuple size. | |
inherited
|
VertexArray.TupleSize
|
The tuple element type.
public
property
|
TupleType
{
get
}
|
||
type
|
TupleType
|
||
value
|
The tuple element type. | ||
inherited
|
VertexArray.TupleType
|
public
readonly
field
|
X
|
||
type
|
T[]
|
||
inherited
|
VertexArray.X
|
Creates a new data container.
public
constructor
|
Long4
(int32 capacity)
|
||
params
|
capacity
|
The capacity, in vertices. |
Copies vertex data from one vertex to another.
public
override
method
|
CopyVertexData
(int32 from,
int32 to)
|
||
params
|
from
|
The vertex to copy from. | |
to
|
The vertex to copy to. | ||
implements
|
VertexArray.CopyVertexData
|
Returns an element of this vertex data array.
[Pure]
|
||||
public
method
|
Get
(int32 index)
|
|||
type
|
Vec4L
|
|||
params
|
index
|
[0..Capacity-1]
|
The element index. | |
returns
|
The vertex element. |
Returns a tuple component with 64-bit floating-point precision.
public
method
|
GetD
(int32 index,
TupleComponent component)
|
||
type
|
float64
|
||
params
|
index
|
[0..Capacity-1]
|
Index of the tuple to get. |
component
|
The tuple component. | ||
returns
|
The read tuple component. | ||
inherited
|
VertexArray.GetD
|
Returns a tuple component with 32-bit floating-point precision.
public
method
|
GetF
(int32 index,
TupleComponent component)
|
||
type
|
float32
|
||
params
|
index
|
[0..Capacity-1]
|
Index of the tuple to get. |
component
|
The tuple component. | ||
returns
|
The read tuple component. | ||
inherited
|
VertexArray.GetF
|
Returns a tuple component with 32-bit integer precision.
public
method
|
GetI
(int32 index,
TupleComponent component)
|
||
type
|
int32
|
||
params
|
index
|
[0..Capacity-1]
|
Index of the tuple to get. |
component
|
The tuple component. | ||
returns
|
The read tuple component. | ||
inherited
|
VertexArray.GetI
|
Returns a tuple component with 64-bit integer precision.
public
method
|
GetL
(int32 index,
TupleComponent component)
|
||
type
|
int64
|
||
params
|
index
|
[0..Capacity-1]
|
Index of the tuple to get. |
component
|
The tuple component. | ||
returns
|
The read tuple component. | ||
inherited
|
VertexArray.GetL
|
Sets an element of this vertex data array.
public
method
|
Set
(int32 index,
Vec4L tuple)
|
||
params
|
index
|
[0..Capacity-1]
|
The element index. |
tuple
|
The vertex element. |
Sets an element of this vertex data array.
public
method
|
Set
(int32 index,
int64 x,
int64 y,
int64 z,
int64 w)
|
||
params
|
index
|
[0..Capacity-1]
|
The element index. |
x
|
X-component of vertex element. | ||
y
|
Y-component of vertex element. | ||
z
|
Z-component of vertex element. | ||
w
|
W-component of vertex element. |