Chicane

Instance

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

Types

名前価値説明
ViewportObservable
ViewportSubscription
Super

コンストラクター

名前説明
Instance()

デストラクター

名前説明
~Instance()

バーチャル関数

アクセスタイプモディファイア名前説明
protected
void
inline
onInit()
protected
void
inline
onRender()
protected
void
inline
onEvent(
const  Window::Event& inEvent
)
protected
void
inline
onResizing()
protected
void
inline
onRepositioning()

関数

アクセスタイプモディファイア名前説明
public
bool
const
canRender()
public
void
init(
const  CreateInfo& inCreateInfo
)
public
void
render()
public
const  Vec2&
const
getSize()
public
void
setSize(
const  Vec2& inValue
)
public
void
setSize(
float inWidth
float inHeight
)
public
const  Vec2&
const
getPosition()
public
void
setPosition(
const  Vec2& inValue
)
public
void
setPosition(
float inX
float inY
)
public
bool
const
hasLayer(
Layer::Instance* inLayer
)
public
bool
const
hasLayer(
const  std::string& inId
)
public
void
pushLayer(
Layer::Instance* inLayer
Layer::PushStrategy inPushStrategy
const  std::string& inId
)
protected
void
pushLayerStart(
Layer::Instance* inLayer
)
protected
void
pushLayerBack(
Layer::Instance* inLayer
)
protected
void
pushLayerBefore(
const  std::string& inId
Layer::Instance* inLayer
)
protected
void
pushLayerAfter(
const  std::string& inId
Layer::Instance* inLayer
)
protected
void
setupLayers()
protected
void
destroyLayers()
protected
void
rebuildLayers()
protected
void
deleteLayers()
private
void
loadEvents()
private
void
updateViewComponents()

メンバ

アクセスタイプモディファイア名前説明
protected
m_size
protected
m_position
protected
std::vector<Layer::Instance*>
m_layers
protected
std::vector<CCamera*>
m_cameras
protected
std::vector<CLight*>
m_lights
protected
std::vector<CMesh*>
m_meshes