Unofficial community resource. Not affiliated with, maintained by, or endorsed by WOWCube / Cubios Inc. Cubios Inc. does not guarantee the accuracy or completeness of this content. Official WOWCube Development Kit

WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelogDeveloper Toolkit
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.

Unofficial community resource. Not affiliated with, maintained by, or endorsed by WOWCube / Cubios Inc. Cubios Inc. does not guarantee the accuracy or completeness of this content. For official documentation and the SDK, see the WOWCube Development Kit.

Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. API
  4. Cubios::Gfx::OffscreenRenderTarget
Mission NodeSDK 6.2C++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.2 / C++ / gfx engine
VersionSDK 6.3SDK 6.2SDK 6.1
Report issue

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.

Trust & provenance

Document status

Source
Offscreen Render Target · installed SDK headers
Classification
API reference
Verification
Community-maintained · verify against installed SDK

Catalog updated Oct 20, 2018

Structured index

Symbols on this page

Names and signatures are extracted from this SDK-derived page. Signature hashes detect accidental changes.

Cubios::Gfx::OffscreenRenderTargetClass
Public EnumsMember
renderLayerOrder_tTypeenum renderLayerOrder_t
ConstructorsMember
OffscreenRenderTargetMember
Public MethodsMember
AddMember
AddCopyMember
BeginMember
EndMember
Public Virtual MethodsMember
RenderLayerMember

Used in SDK snippets

AddCopy→GfxRenderTarget.cppAddCopy→GfxRenderTarget.cppAddCopy→GfxSpriteAtlas.cppAddCopy→GfxRenderTarget.cppAddCopy→GfxSpriteAtlas.cpp
Jump Grid

On This Page

Public EnumsrenderLayerOrder tConstructorsOffscreenRenderTargetPublic MethodsAddAddCopyBeginEndPublic Virtual MethodsRenderLayer
Back to top ↑
Context Rail

Related nodes

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