Nebula
Loading...
Searching...
No Matches
RenderUtil::DrawFullScreenQuad Class Reference

#include <drawfullscreenquad.h>

Detailed Description

Actually draws one big triangle which covers the entire screen, which is more efficient than drawing a quad using two triangles.

Static Public Member Functions

static void Setup ()
 setup the object
 
static void Discard ()
 discard the object
 
static bool IsValid ()
 return true if object is valid
 
static void ApplyMesh (const CoreGraphics::CmdBufferId id)
 Apply mesh.
 
static const CoreGraphics::PrimitiveGroupGetPrimitiveGroup ()
 Get primitive group.
 

Static Private Attributes

static CoreGraphics::BufferId vertexBuffer = CoreGraphics::InvalidBufferId
 
static CoreGraphics::VertexLayoutId vertexLayout = CoreGraphics::InvalidVertexLayoutId
 
static CoreGraphics::PrimitiveGroup primGroup
 
static bool isValid = false
 

Member Function Documentation

◆ ApplyMesh()

void RenderUtil::DrawFullScreenQuad::ApplyMesh ( const CoreGraphics::CmdBufferId id)
static

Apply mesh.

◆ Discard()

void RenderUtil::DrawFullScreenQuad::Discard ( )
static

discard the object

◆ GetPrimitiveGroup()

const CoreGraphics::PrimitiveGroup & RenderUtil::DrawFullScreenQuad::GetPrimitiveGroup ( )
static

Get primitive group.

◆ IsValid()

bool RenderUtil::DrawFullScreenQuad::IsValid ( )
inlinestatic

return true if object is valid

◆ Setup()

void RenderUtil::DrawFullScreenQuad::Setup ( )
static

setup the object

Member Data Documentation

◆ isValid

bool RenderUtil::DrawFullScreenQuad::isValid = false
staticprivate

◆ primGroup

CoreGraphics::PrimitiveGroup RenderUtil::DrawFullScreenQuad::primGroup
staticprivate

◆ vertexBuffer

CoreGraphics::BufferId RenderUtil::DrawFullScreenQuad::vertexBuffer = CoreGraphics::InvalidBufferId
staticprivate

◆ vertexLayout

CoreGraphics::VertexLayoutId RenderUtil::DrawFullScreenQuad::vertexLayout = CoreGraphics::InvalidVertexLayoutId
staticprivate

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