voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
BlockMeshingData
voxelman
world
block
blockinfo
Undocumented in source.
struct
BlockMeshingData {
Buffer
!
MeshVertex
*
buffer
;
ubyte
[
4
]
delegate
(
ushort
blockIndex
,
CubeSide
side
)
occlusionHandler
;
ubvec3
color
;
ubyte
[
2
]
uv
;
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.
uv
ubyte
[
2
]
uv
;
Undocumented in source.
Meta
Source
See Implementation
voxelman
world
block
blockinfo
aliases
BlockUpdateHandler
MeshHandler
RotationHandler
ShapeMetaHandler
SideSolidityHandler
enums
Solidity
functions
chunkAndBlockAt27
chunkAndBlockAt6
isMoreSolidThan
makeNullMesh
regBaseBlocks
semitransparentSideSolidity
setSideTable
slopeRotationHandler
solidSideSolidity
transparentSideSolidity
structs
BlockInfo
BlockInfoSetter
BlockInfoTable
BlockMeshingData
ChunkAndBlockAt
SeparatedBlockInfoTable
variables
entityBlock
position_in_target_chunk
target_chunk