10 #ifndef hifi_WorldBox_h
11 #define hifi_WorldBox_h
15 #include <gpu/Batch.h>
16 #include <render/Forward.h>
18 #include <render/Item.h>
19 #include <GeometryCache.h>
22 class WorldBoxRenderData {
24 typedef render::Payload<WorldBoxRenderData> Payload;
25 typedef Payload::DataPointer Pointer;
28 static render::ItemID _item;
30 static void renderWorldBox(RenderArgs* args, gpu::Batch& batch);
34 template <>
const ItemKey payloadGetKey(
const WorldBoxRenderData::Pointer& stuff);
35 template <>
const Item::Bound payloadGetBound(
const WorldBoxRenderData::Pointer& stuff, RenderArgs* args);
36 template <>
void payloadRender(
const WorldBoxRenderData::Pointer& stuff, RenderArgs* args);