abstract class
|
VertexArray
|
with
|
<T>
|
||
extends
|
CapacityBase
|
||||
implements
|
IVertexArray
|
||||
base of
|
Double0
|
||||
Float0
|
|||||
Int0
|
|||||
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. | |
implements
|
IMemoryConsumption.MemoryConsumption
|
The tuple size.
public
property
|
TupleSize
{
get
}
|
||
type
|
int32
|
||
value
|
|
The tuple size. | |
implements
|
IVertexArray.TupleSize
|
The tuple element type.
public
property
|
TupleType
{
get
}
|
||
type
|
TupleType
|
||
value
|
The tuple element type. | ||
implements
|
IVertexArray.TupleType
|
public
readonly
field
|
X
|
||
type
|
T[]
|
Copies vertex data from one vertex to another.
public
abstract
method
|
CopyVertexData
(int32 from,
int32 to)
|
||
params
|
from
|
The vertex to copy from. | |
to
|
The vertex to copy to. | ||
implements
|
IVertexCopy.CopyVertexData
|
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. | ||
implements
|
IVertexArray.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. | ||
implements
|
IVertexArray.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. | ||
implements
|
IVertexArray.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. | ||
implements
|
IVertexArray.GetL
|
Creates a new instance of VertexArray.
protected
constructor
|
VertexArray
(int32 capacity,
int32 tupleSize,
TupleType tupleType)
|
||
params
|
capacity
|
[>0]
|
The capacity, in vertex elements. |
tupleSize
|
[1..4]
|
The vertex element tuple size. | |
tupleType
|
The tuple type. |
protected
abstract
method
|
ToD
(T value)
|
||
type
|
float64
|
||
params
|
value
|
protected
abstract
method
|
ToF
(T value)
|
||
type
|
float32
|
||
params
|
value
|
protected
abstract
method
|
ToI
(T value)
|
||
type
|
int32
|
||
params
|
value
|
protected
abstract
method
|
ToL
(T value)
|
||
type
|
int64
|
||
params
|
value
|