#include <olcPGEX_Shaders.h>
|
| Shade () |
|
olc::Effect | MakeEffect (const olc::EffectConfig &premade) |
|
int32_t | SetSourceDecal (olc::Decal *pDecal, const uint32_t nSlot=0, const olc::vf2d &vSourcePos={ 0.0f, 0.0f }, const olc::vf2d &vSourceSize={ 1.0f, 1.0f }) |
|
int32_t | SetTargetDecal (olc::Decal *pDecal, const uint32_t nSlot=0) |
|
int32_t | Start (olc::Effect *pEffect) |
|
int32_t | End () |
|
void | Clear (const olc::Pixel &p=olc::BLANK) |
|
void | DrawDecal (const olc::vf2d &pos, olc::Decal *decal, const olc::vf2d &scale={ 1.0f, 1.0f }, const olc::Pixel &tint=olc::WHITE) |
|
void | DrawPartialDecal (const olc::vf2d &pos, olc::Decal *decal, const olc::vf2d &source_pos, const olc::vf2d &source_size, const olc::vf2d &scale={ 1.0f, 1.0f }, const olc::Pixel &tint=olc::WHITE) |
|
void | DrawPartialDecal (const olc::vf2d &pos, const olc::vf2d &size, olc::Decal *decal, const olc::vf2d &source_pos, const olc::vf2d &source_size, const olc::Pixel &tint=olc::WHITE) |
|
void | DrawPolygonDecal (olc::Decal *decal, const std::vector< olc::vf2d > &pos, const std::vector< olc::vf2d > &uv, const std::vector< olc::Pixel > &colours) |
|
int32_t | DrawQuad (const olc::vf2d &vPos, const olc::vf2d &vSize) |
|
| PGEX (bool bHook=false) |
|
◆ Shade()
◆ Clear()
◆ DrawDecal()
◆ DrawPartialDecal() [1/2]
◆ DrawPartialDecal() [2/2]
◆ DrawPolygonDecal()
◆ DrawQuad()
◆ End()
int32_t olc::Shade::End |
( |
| ) |
|
◆ MakeEffect()
◆ OnBeforeUserCreate()
void olc::Shade::OnBeforeUserCreate |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ SetSourceDecal()
int32_t olc::Shade::SetSourceDecal |
( |
olc::Decal * | pDecal, |
|
|
const uint32_t | nSlot = 0, |
|
|
const olc::vf2d & | vSourcePos = { 0.0f, 0.0f }, |
|
|
const olc::vf2d & | vSourceSize = { 1.0f, 1.0f } ) |
◆ SetTargetDecal()
int32_t olc::Shade::SetTargetDecal |
( |
olc::Decal * | pDecal, |
|
|
const uint32_t | nSlot = 0 ) |
◆ Start()
◆ olc::Effect
The documentation for this class was generated from the following file: