voxelman v0.8.0 (2017-02-03T20:04:39Z)
Dub
Repo
BlockMeshingData
voxelman
world
block
utils
Undocumented in source.
struct
BlockMeshingData {
Buffer
!
MeshVertex
*
buffer
;
ubyte
[
4
]
delegate
(
ushort
blockIndex
,
CubeSide
side
)
occlusionHandler
;
ubvec3
color
;
ubvec3
chunkPos
;
ubyte
sides
;
ushort
blockIndex
;
BlockMetadata
metadata
;
}
Members
Variables
blockIndex
ushort
blockIndex
;
Undocumented in source.
buffer
Buffer
!
MeshVertex
*
buffer
;
Undocumented in source.
chunkPos
ubvec3
chunkPos
;
Undocumented in source.
color
ubvec3
color
;
Undocumented in source.
metadata
BlockMetadata
metadata
;
Undocumented in source.
occlusionHandler
ubyte
[
4
]
delegate
(
ushort
blockIndex
,
CubeSide
side
)
occlusionHandler
;
Undocumented in source.
sides
ubyte
sides
;
Undocumented in source.
Meta
Source
See Implementation
voxelman
world
block
utils
aliases
BlockUpdateHandler
MeshHandler
RotationHandler
ShapeMetaHandler
SideSolidityHandler
enums
Solidity
functions
chunkAndBlockAt27
chunkAndBlockAt6
isMoreSolidThan
makeNullMesh
packColor
regBaseBlocks
semitransparentSideSolidity
setSideTable
sideFromNormal
slopeRotationHandler
solidSideSolidity
transparentSideSolidity
structs
BlockInfo
BlockInfoSetter
BlockInfoTable
BlockMeshingData
ChunkAndBlockAdjacent
ChunkAndBlockAt
MeshVertex2
SeparatedBlockInfoTable
variables
entityBlock
position_in_target_chunk
target_chunk