Skip to content

Class: DynamicDrawStruct

Hierarchy

Constructors

Methods

Constructors

constructor

new DynamicDrawStruct(): DynamicDrawStruct

Returns

DynamicDrawStruct

Inherited from

Struct.constructor

Methods

getValueSize

getValueSize(value): any

get any type value memory size

Parameters

NameTypeDescription
valueanyany type value

Returns

any

Inherited from

Struct.getValueSize

Defined in

src/util/struct/Struct.ts:48


Ref

Ref<T>(c): { name: string ; type: string }[]

Type parameters

NameType
Textends Struct

Parameters

NameType
cCtor<T>

Returns

{ name: string ; type: string }[]

Inherited from

Struct.Ref

Defined in

src/util/struct/Struct.ts:93


Get

Get<T>(c): Struct

Type parameters

NameType
Textends Struct

Parameters

NameType
cCtor<T>

Returns

Struct

Inherited from

Struct.Get

Defined in

src/util/struct/Struct.ts:99


GetSize

GetSize<T>(c): number

get any struct memory size

Type parameters

NameType
Textends Struct

Parameters

NameType
cCtor<T>

Returns

number

Inherited from

Struct.GetSize

Defined in

src/util/struct/Struct.ts:112


getValueType

getValueType(): { name: string ; type: string }[]

get reflection name

Returns

{ name: string ; type: string }[]

Inherited from

Struct.getValueType

Defined in

src/util/struct/Struct.ts:25

Released under the MIT License