Shaku

Shaku JS

Back To Table of Content

Buffers Usage

Typedefs

BuffersUsage : String

BuffersUsage : enum

Buffers usage we can use for drawing batches. This determine how WebGL will treat the buffers we pass to the GPU.

Kind: global enum
Read only: true
Properties

Name Type Default
StaticDraw BuffersUsage static
DynamicDraw BuffersUsage dynamic
StreamDraw BuffersUsage stream

BuffersUsage.StaticDraw : BuffersUsage

Kind: static property of BuffersUsage
Default: static

BuffersUsage.DynamicDraw : BuffersUsage

Kind: static property of BuffersUsage
Default: dynamic

BuffersUsage.StreamDraw : BuffersUsage

Kind: static property of BuffersUsage
Default: stream

BuffersUsage : String

Kind: global typedef

BuffersUsage.StaticDraw : BuffersUsage

Kind: static property of BuffersUsage
Default: static

BuffersUsage.DynamicDraw : BuffersUsage

Kind: static property of BuffersUsage
Default: dynamic

BuffersUsage.StreamDraw : BuffersUsage

Kind: static property of BuffersUsage
Default: stream