Meta_RenderTarget

Public Types


Depth

equivalent to GL_DEPTH_ATTACHMENT

Stencil

equivalent to GL_STENCIL_ATTACHMENT

DepthStencil

equivalent to GL_DEPTH_STENCIL_ATTACHMENT

Colour

equivalent to GL_COLOR_ATTACHMENT0. Colour+1 is equivalent to GL_COLOR_ATTACHMENT1 and so on up to GPU's maximum supported colour attachments...


PosX
NegX
PosY
NegY
PosZ
NegZ

enum IDX
Idx_Enabled
Idx_Attachment

integer attachment number (use Attachment enum for reference)

Idx_Texture

link to Meta_Texture to render into.

Idx_MipLevel

integer mipmap level of texture to render into.

Idx_Layer

integer texture layer to render into. If Idx_Texture is a cubemap this is the cubemap face to use (use CubeMapFace enum for reference) if Idx_Texture is a 3D texture this is the slice to use. Otherwise ignored.

Idx_Clear

boolean indicating whether or not the render target should be cleared before rendering into it.

Idx_ClearValue

the value to clear the render target to. For a colour attachment this is 4 floats representing colour and alpha.

Public Member Functions


No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API