TextureBinaryBufferSerializer
Functions
- dataTypeByTypeIndex(index) ⇒
BinaryDataType
- readTypedArray(buffer, type, length)
- serializeTexture(buffer, texture)
- deserializeTexture(buffer) ⇒
Sampler2D
dataTypeByTypeIndex(index) ⇒ BinaryDataType
Kind: global function
Param | Type |
---|---|
index | number |
readTypedArray(buffer, type, length)
Kind: global function
Param | Type |
---|---|
buffer | BinaryBuffer |
type | BinaryDataType |
length | number |
serializeTexture(buffer, texture)
Kind: global function
Param | Type |
---|---|
buffer | BinaryBuffer |
texture | Sampler2D |
deserializeTexture(buffer) ⇒ Sampler2D
Kind: global function
Param | Type |
---|---|
buffer | BinaryBuffer |