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

#include <olcPixelGameEngine.h>

Classes

struct  Vertex
 

Public Attributes

std::vector< Vertexvb
 
olc::Decaldecal = nullptr
 
olc::DecalStructure structure = olc::DecalStructure::FAN
 
olc::DecalMode mode = olc::DecalMode::NORMAL
 
bool depth = false
 
std::array< float, 16 > mvp
 
olc::CullMode cull = olc::CullMode::NONE
 
olc::Pixel tint = olc::WHITE
 

Member Data Documentation

◆ cull

olc::CullMode olc::GPUTask::cull = olc::CullMode::NONE

◆ decal

olc::Decal* olc::GPUTask::decal = nullptr

◆ depth

bool olc::GPUTask::depth = false

◆ mode

olc::DecalMode olc::GPUTask::mode = olc::DecalMode::NORMAL

◆ mvp

std::array<float, 16> olc::GPUTask::mvp
Initial value:
= { {
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
} }

◆ structure

olc::DecalStructure olc::GPUTask::structure = olc::DecalStructure::FAN

◆ tint

olc::Pixel olc::GPUTask::tint = olc::WHITE

◆ vb

std::vector<Vertex> olc::GPUTask::vb

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