OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
DrawCommands::DrawCmd Struct Reference

#include <drawcommands.h>

Public Member Functions

bool isForwardShading () const
 
bool isShadowmapRequired () const
 
bool isSceneInfoRequired () const
 
bool isTextureInShadowPass () const
 
bool isBindless () const
 
bool isMeshShader () const
 

Public Attributes

const Tempest::RenderPipeline * pMain = nullptr
 
const Tempest::RenderPipeline * pShadow = nullptr
 
const Tempest::RenderPipeline * pVsm = nullptr
 
const Tempest::RenderPipeline * pHiZ = nullptr
 
Type type = Type::Landscape
 
Material::AlphaFunc alpha = Material::Solid
 
uint32_t firstPayload = 0
 
uint32_t maxPayload = 0
 
uint32_t bucketId = 0
 

Detailed Description

Definition at line 24 of file drawcommands.h.

Member Function Documentation

◆ isBindless()

bool DrawCommands::DrawCmd::isBindless ( ) const

Definition at line 36 of file drawcommands.cpp.

◆ isForwardShading()

bool DrawCommands::DrawCmd::isForwardShading ( ) const

Definition at line 20 of file drawcommands.cpp.

◆ isMeshShader()

bool DrawCommands::DrawCmd::isMeshShader ( ) const

Definition at line 40 of file drawcommands.cpp.

◆ isSceneInfoRequired()

bool DrawCommands::DrawCmd::isSceneInfoRequired ( ) const

Definition at line 28 of file drawcommands.cpp.

◆ isShadowmapRequired()

bool DrawCommands::DrawCmd::isShadowmapRequired ( ) const

Definition at line 24 of file drawcommands.cpp.

◆ isTextureInShadowPass()

bool DrawCommands::DrawCmd::isTextureInShadowPass ( ) const

Definition at line 32 of file drawcommands.cpp.

Member Data Documentation

◆ alpha

Material::AlphaFunc DrawCommands::DrawCmd::alpha = Material::Solid

Definition at line 31 of file drawcommands.h.

◆ bucketId

uint32_t DrawCommands::DrawCmd::bucketId = 0

Definition at line 36 of file drawcommands.h.

◆ firstPayload

uint32_t DrawCommands::DrawCmd::firstPayload = 0

Definition at line 32 of file drawcommands.h.

◆ maxPayload

uint32_t DrawCommands::DrawCmd::maxPayload = 0

Definition at line 33 of file drawcommands.h.

◆ pHiZ

const Tempest::RenderPipeline* DrawCommands::DrawCmd::pHiZ = nullptr

Definition at line 28 of file drawcommands.h.

◆ pMain

const Tempest::RenderPipeline* DrawCommands::DrawCmd::pMain = nullptr

Definition at line 25 of file drawcommands.h.

◆ pShadow

const Tempest::RenderPipeline* DrawCommands::DrawCmd::pShadow = nullptr

Definition at line 26 of file drawcommands.h.

◆ pVsm

const Tempest::RenderPipeline* DrawCommands::DrawCmd::pVsm = nullptr

Definition at line 27 of file drawcommands.h.

◆ type

Type DrawCommands::DrawCmd::type = Type::Landscape

Definition at line 29 of file drawcommands.h.


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