godot_voxel/streams/voxel_block_request.h

17 lines
313 B
C++

#ifndef VOXEL_BLOCK_REQUEST_H
#define VOXEL_BLOCK_REQUEST_H
#include "../math/vector3i.h"
#include "../voxel_buffer.h"
class VoxelBuffer;
// TODO Rename VoxelStreamBlockRequest
struct VoxelBlockRequest {
Ref<VoxelBuffer> voxel_buffer;
Vector3i origin_in_voxels;
int lod;
};
#endif // VOXEL_BLOCK_REQUEST_H