olcPixelGameEngine v2.28
The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects
Loading...
Searching...
No Matches
olc::LayerDesc Struct Reference

#include <olcPixelGameEngine.h>

Public Attributes

olc::vf2d vOffset = { 0, 0 }
 
olc::vf2d vScale = { 1, 1 }
 
bool bShow = false
 
bool bUpdate = false
 
olc::Renderable pDrawTarget
 
uint32_t nResID = 0
 
std::vector< DecalInstancevecDecalInstance
 
olc::Pixel tint = olc::WHITE
 
std::function< void()> funcHook = nullptr
 

Member Data Documentation

◆ bShow

bool olc::LayerDesc::bShow = false

◆ bUpdate

bool olc::LayerDesc::bUpdate = false

◆ funcHook

std::function<void()> olc::LayerDesc::funcHook = nullptr

◆ nResID

uint32_t olc::LayerDesc::nResID = 0

◆ pDrawTarget

olc::Renderable olc::LayerDesc::pDrawTarget

◆ tint

olc::Pixel olc::LayerDesc::tint = olc::WHITE

◆ vecDecalInstance

std::vector<DecalInstance> olc::LayerDesc::vecDecalInstance

◆ vOffset

olc::vf2d olc::LayerDesc::vOffset = { 0, 0 }

◆ vScale

olc::vf2d olc::LayerDesc::vScale = { 1, 1 }

The documentation for this struct was generated from the following file: