Appearance
RoyInterface / Exports / define/RoyBufferConst / RoyVtxBufConst
Class: RoyVtxBufConst
define/RoyBufferConst.RoyVtxBufConst
Table of contents
Constructors
Methods
Constructors
constructor
• new RoyVtxBufConst(): RoyVtxBufConst
Returns
Methods
getElementTypeCombineSize
▸ getElementTypeCombineSize(type
): 1
| 2
| 3
| 4
| 6
| 8
| 12
| 16
Parameters
Name | Type |
---|---|
type | VertexBuffer$AttributeType |
Returns
1
| 2
| 3
| 4
| 6
| 8
| 12
| 16
getElementSize
▸ getElementSize(type
): 1
| 2
| 3
| 4
Parameters
Name | Type |
---|---|
type | VertexBuffer$AttributeType |
Returns
1
| 2
| 3
| 4
getAttriIndexByNS
▸ getAttriIndexByNS(pns
): number
Parameters
Name | Type |
---|---|
pns | string |
Returns
number
getVBufNSByIndex
▸ getVBufNSByIndex(bType
): string
Parameters
Name | Type |
---|---|
bType | VertexAttribute |
Returns
string