Skip to main content

TextureBinaryBufferSerializer

Functions

dataTypeByTypeIndex(index)BinaryDataType
readTypedArray(buffer, type, length)
serializeTexture(buffer, texture)
deserializeTexture(buffer)Sampler2D

dataTypeByTypeIndex(index) ⇒ BinaryDataType

Kind: global function

ParamType
indexnumber

readTypedArray(buffer, type, length)

Kind: global function

ParamType
bufferBinaryBuffer
typeBinaryDataType
lengthnumber

serializeTexture(buffer, texture)

Kind: global function

ParamType
bufferBinaryBuffer
textureSampler2D

deserializeTexture(buffer) ⇒ Sampler2D

Kind: global function

ParamType
bufferBinaryBuffer