Kerby64
Preparing search index...
compute_shaders/chunk/chunkGen
ChunkGen
Class ChunkGen
Hierarchy
ComputeShader
ChunkGen
Index
Constructors
constructor
Properties
test
Buf
Accessors
world
Type
Methods
generate
Chunk
wait
For
Ready
Constructors
constructor
new
ChunkGen
(
engine
:
WebGPUEngine
,
seed
:
number
)
:
ChunkGen
Parameters
engine
:
WebGPUEngine
seed
:
number
Returns
ChunkGen
Properties
test
Buf
testBuf
:
StorageBuffer
Accessors
world
Type
get
worldType
()
:
|
{
map
:
(
|
"bedrock"
|
"jukebox"
|
"debug"
|
"debug2"
|
"water"
|
"diamond_ore"
|
"gold_ore"
|
"redstone_ore"
|
"coal_ore"
|
"emerald_ore"
|
"lapis_ore"
|
"iron_ore"
|
"oak_leaves"
|
"oak_log"
|
"oak_planks"
|
"tnt"
|
"bookshelf"
|
"coal_block"
|
"hay_block"
|
"crafting_table"
|
"dirt"
|
"stone"
|
"glass"
|
"obsidian"
|
"grass_block"
|
"sand"
|
"gravel"
|
"clay"
|
"snow"
|
"ice"
|
"cobblestone"
|
"stone_bricks"
|
"bricks"
|
"glowstone"
|
"furnace"
|
"pumpkin"
|
"carved_pumpkin"
|
"air"
)
[]
;
type
:
"flat"
;
}
|
{
type
:
"normal"
}
Returns
|
{
map
:
(
|
"bedrock"
|
"jukebox"
|
"debug"
|
"debug2"
|
"water"
|
"diamond_ore"
|
"gold_ore"
|
"redstone_ore"
|
"coal_ore"
|
"emerald_ore"
|
"lapis_ore"
|
"iron_ore"
|
"oak_leaves"
|
"oak_log"
|
"oak_planks"
|
"tnt"
|
"bookshelf"
|
"coal_block"
|
"hay_block"
|
"crafting_table"
|
"dirt"
|
"stone"
|
"glass"
|
"obsidian"
|
"grass_block"
|
"sand"
|
"gravel"
|
"clay"
|
"snow"
|
"ice"
|
"cobblestone"
|
"stone_bricks"
|
"bricks"
|
"glowstone"
|
"furnace"
|
"pumpkin"
|
"carved_pumpkin"
|
"air"
)
[]
;
type
:
"flat"
;
}
|
{
type
:
"normal"
}
set
worldType
(
worldtype
:
|
{
map
:
(
|
"bedrock"
|
"jukebox"
|
"debug"
|
"debug2"
|
"water"
|
"diamond_ore"
|
"gold_ore"
|
"redstone_ore"
|
"coal_ore"
|
"emerald_ore"
|
"lapis_ore"
|
"iron_ore"
|
"oak_leaves"
|
"oak_log"
|
"oak_planks"
|
"tnt"
|
"bookshelf"
|
"coal_block"
|
"hay_block"
|
"crafting_table"
|
"dirt"
|
"stone"
|
"glass"
|
"obsidian"
|
"grass_block"
|
"sand"
|
"gravel"
|
"clay"
|
"snow"
|
"ice"
|
"cobblestone"
|
"stone_bricks"
|
"bricks"
|
"glowstone"
|
"furnace"
|
"pumpkin"
|
"carved_pumpkin"
|
"air"
)
[]
;
type
:
"flat"
;
}
|
{
type
:
"normal"
}
,
)
:
void
Parameters
worldtype
:
|
{
map
:
(
|
"bedrock"
|
"jukebox"
|
"debug"
|
"debug2"
|
"water"
|
"diamond_ore"
|
"gold_ore"
|
"redstone_ore"
|
"coal_ore"
|
"emerald_ore"
|
"lapis_ore"
|
"iron_ore"
|
"oak_leaves"
|
"oak_log"
|
"oak_planks"
|
"tnt"
|
"bookshelf"
|
"coal_block"
|
"hay_block"
|
"crafting_table"
|
"dirt"
|
"stone"
|
"glass"
|
"obsidian"
|
"grass_block"
|
"sand"
|
"gravel"
|
"clay"
|
"snow"
|
"ice"
|
"cobblestone"
|
"stone_bricks"
|
"bricks"
|
"glowstone"
|
"furnace"
|
"pumpkin"
|
"carved_pumpkin"
|
"air"
)
[]
;
type
:
"flat"
;
}
|
{
type
:
"normal"
}
Returns
void
Methods
generate
Chunk
generateChunk
(
chunk
:
Chunk
)
:
Promise
<
StorageBuffer
>
Parameters
chunk
:
Chunk
Returns
Promise
<
StorageBuffer
>
wait
For
Ready
waitForReady
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
test
Buf
Accessors
world
Type
Methods
generate
Chunk
wait
For
Ready
Kerby64
Loading...