Nebula
|
#include <drawfullscreenquad.h>
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::PrimitiveGroup & | GetPrimitiveGroup () |
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 |
|
static |
Apply mesh.
|
static |
discard the object
|
static |
Get primitive group.
|
inlinestatic |
return true if object is valid
|
static |
setup the object
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |