class
ViewportBase
Common base type used for both main and render thread variants of Viewport.
Public
Methods
~ViewportBase
SetArea
Determines the area that the viewport covers.
Coordinates are in normalized [0, 1] range.
GetArea
GetPixelArea
Returns the area of the render target covered by the viewport, in pixels.
SetClearFlags
Determines which portions of the render target should be cleared before rendering to this viewport is performed.
GetClearFlags
SetClearValues
Sets values to clear color, depth and stencil buffers to.
SetClearColorValue
Determines the color to clear the viewport to before rendering, if color clear is enabled.
GetClearColorValue
SetClearDepthValue
Determines the value to clear the depth buffer to before rendering, if depth clear is enabled.
GetClearDepthValue
SetClearStencilValue
Determines the value to clear the stencil buffer to before rendering, if stencil clear is enabled.
GetClearStencilValue
Protected
Constructors
ViewportBase
Methods
MarkRenderProxyDataDirtyInternal
Marks the render proxy data as dirty.
This causes the data from the main thread object be synced with the render thread version of the object.
GetTargetWidth
Gets the render target width.
GetTargetHeight
Gets the render target width.