Chicane

Backend

ヘッダー
Includes/Chicane/Renderer/Backend.hpp
ネームスペース
Chicane::Renderer::Backend

Types

名前価値説明
LayerList
std::vector<std::unique_ptr<Layer>>

コンストラクター

名前説明
Backend()

バーチャル関数

アクセスタイプモディファイア名前説明
public
void
onInit()
public
void
onShutdown()
public
void
onResize()
public
void
onLoad(
DrawPolyType inType
const  DrawPolyResource& inResource
)
public
void
onLoad(
const  DrawTextureResource& inResources
)
public
void
onLoad(
const  DrawSky& inResource
)
public
void
onBeginRender()
public
void
onRender(
const  Frame& inFrame
)
public
void
onEndRender()

関数

アクセスタイプモディファイア名前説明
public
const  Instance*
const
getRenderer()
public
std::vector<Layer*>
const
findLayers(
std::function<bool(const Layer *inLayer)> inPredicate
)
public
Target*
inline, const
getLayer(
const  String& inId
)
public
void
inline
addLayer(
const  ListPush<Layer*>& inSettings
Params... inParams
)
public
std::size_t
getResourceSize(
Resource inType
)
public
std::size_t
getResourceBudget(
Resource inType
)
public
std::uint32_t
getResourceBudgetCount(
Resource inType
)
protected
const
getLayerViewport(
Layer* inLayer
)
protected
void
renderLayers(
const  Frame& inFrame
void* inData
)
protected
void
shutdownLayers()
protected
void
rebuildLayers()
protected
void
destroyLayers()
protected
void
setVRAM(
std::size_t inBytes
)
private
void
setRenderer(
const  Instance* inValue
)

メンバ

アクセスタイプモディファイア名前説明
private
friend
Instance
protected
const  Instance*
m_renderer
protected
m_layers
protected
std::size_t
m_VRAM