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

#include <olcPixelGameEngine.h>

Public Attributes

olc::Decaldecal = nullptr
 
std::vector< olc::vf2dpos
 
std::vector< olc::vf2duv
 
std::vector< float > w
 
std::vector< float > z
 
std::vector< olc::Pixeltint
 
olc::DecalMode mode = olc::DecalMode::NORMAL
 
olc::DecalStructure structure = olc::DecalStructure::FAN
 
uint32_t points = 0
 
bool depth = false
 

Member Data Documentation

◆ decal

olc::Decal* olc::DecalInstance::decal = nullptr

◆ depth

bool olc::DecalInstance::depth = false

◆ mode

olc::DecalMode olc::DecalInstance::mode = olc::DecalMode::NORMAL

◆ points

uint32_t olc::DecalInstance::points = 0

◆ pos

std::vector<olc::vf2d> olc::DecalInstance::pos

◆ structure

olc::DecalStructure olc::DecalInstance::structure = olc::DecalStructure::FAN

◆ tint

std::vector<olc::Pixel> olc::DecalInstance::tint

◆ uv

std::vector<olc::vf2d> olc::DecalInstance::uv

◆ w

std::vector<float> olc::DecalInstance::w

◆ z

std::vector<float> olc::DecalInstance::z

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