WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelog
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.
Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. API
  4. Cubios::Gfx::OffscreenRenderTarget
Mission NodeSDK 6.1C++gfx engine

Cubios::Gfx::OffscreenRenderTarget

Cubios::Gfx::OffscreenRenderTarget Public Enums renderLayerOrder t Summary Determines the drawing order of the main and auxiliary layers: BeforeQueue The aux...

API / SDK 6.1 / C++ / gfx engine

Cubios::Gfx::OffscreenRenderTarget

Public Enums

renderLayerOrder_t

Summary

Determines the drawing order of the main and auxiliary layers:

  • BeforeQueue - The auxiliary layer is drawn before the main one
  • AfterQueue - The auxiliary layer is drawn after the main one

Synopsis

Cubios::Gfx::OffscreenRenderTarget
CPP
1enum renderLayerOrder_t
2 {
3 BeforeQueue = 0,
4 AfterQueue = 1
5 };
6
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Constructors

OffscreenRenderTarget

Constructs an object for rendering the GFX objects queue to an offscreen bitmap for later use

Arguments

  • width - width of the offscreen render target bitmap, in pixels
  • height - height of the offscreen render target bitmap, in pixels
  • format - render target pixel format

Synopsis

Cubios::Gfx::OffscreenRenderTarget
CPP
1OffscreenRenderTarget(u32_t width, u32_t height, Cubios::GFX_PixelFormat_t format)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Public Methods

Add

Summary

Adds an instance of GFX object to the rendering queue

Arguments

  • obj - pointer to an instance of GFX object

Output

Returns a pointer to the recently added object

Synopsis

Cubios::Gfx::OffscreenRenderTarget
CPP
1Cubios::SceneObject* Add(Cubios::SceneObject* obj)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

AddCopy

Summary

Adds a copy of GFX object to the rendering queue

Arguments

  • obj - pointer to an instance of GFX object a copy of which will be added to the queue

Output

Returns a pointer to the recently added object

Synopsis

Cubios::Gfx::OffscreenRenderTarget
CPP
1Cubios::SceneObject* AddCopy(Cubios::SceneObject* obj)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Begin

Summary

Initializes a commit of objects and is called before the immediate start of adding objects to the queue

Synopsis

Cubios::Gfx::OffscreenRenderTarget
CPP
1void Begin()
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

End

Summary

Finalizes the commit of objects to the queue and submits the added objects for rendering

Synopsis

Cubios::Gfx::OffscreenRenderTarget
CPP
1void End()
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Public Virtual Methods

RenderLayer

Summary

This function can contain auxiliary layer rendering code that runs either before or after the main layer is rendered.

Arguments

  • order - auxiliary layer rendering order

Synopsis

Cubios::Gfx::OffscreenRenderTarget
CPP
1virtual void RenderLayer(renderLayerOrder_t order)
2
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.

Jump Grid

On This Page

Public EnumsrenderLayerOrder tConstructorsOffscreenRenderTargetPublic MethodsAddAddCopyBeginEndPublic Virtual MethodsRenderLayer
Context Rail

Related nodes

Cubios::Math
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Vec2
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Transform
API / SDK 6.1 / C++ / gfx engine
Cubios::Math::Color
API / SDK 6.1 / C++ / gfx engine
Previous Node
Cubios::Gfx::Text
API / SDK 6.1 / C++ / gfx engine
Next Node
Cubios::Sound
API / SDK 6.1 / C++ / gfx engine