mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:21:16 +02:00
remove payloadGetLayer() from GameWorkloadRenderer
This commit is contained in:
parent
4329ea5240
commit
d220d437cc
2 changed files with 1 additions and 8 deletions
|
@ -100,10 +100,6 @@ namespace render {
|
||||||
template <> const ShapeKey shapeGetShapeKey(const GameWorkloadRenderItem::Pointer& payload) {
|
template <> const ShapeKey shapeGetShapeKey(const GameWorkloadRenderItem::Pointer& payload) {
|
||||||
return ShapeKey::Builder::ownPipeline();
|
return ShapeKey::Builder::ownPipeline();
|
||||||
}
|
}
|
||||||
template <> int payloadGetLayer(const GameWorkloadRenderItem::Pointer& payloadData) {
|
|
||||||
return render::Item::LAYER_3D_FRONT;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GameWorkloadRenderItem::GameWorkloadRenderItem() : _key(render::ItemKey::Builder::opaqueShape().withTagBits(render::ItemKey::TAG_BITS_0 | render::ItemKey::TAG_BITS_1)) {
|
GameWorkloadRenderItem::GameWorkloadRenderItem() : _key(render::ItemKey::Builder::opaqueShape().withTagBits(render::ItemKey::TAG_BITS_0 | render::ItemKey::TAG_BITS_1)) {
|
||||||
|
|
|
@ -99,9 +99,6 @@ namespace render {
|
||||||
template <> const Item::Bound payloadGetBound(const GameWorkloadRenderItem::Pointer& payload);
|
template <> const Item::Bound payloadGetBound(const GameWorkloadRenderItem::Pointer& payload);
|
||||||
template <> void payloadRender(const GameWorkloadRenderItem::Pointer& payload, RenderArgs* args);
|
template <> void payloadRender(const GameWorkloadRenderItem::Pointer& payload, RenderArgs* args);
|
||||||
template <> const ShapeKey shapeGetShapeKey(const GameWorkloadRenderItem::Pointer& payload);
|
template <> const ShapeKey shapeGetShapeKey(const GameWorkloadRenderItem::Pointer& payload);
|
||||||
template <> int payloadGetLayer(const GameWorkloadRenderItem::Pointer& payloadData);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue