Method IsHandleYFlipped
IsHandleYFlipped(RTHandle)
True is the handle has its content flipped on the y axis. This happens only with certain rendering APIs. On those platforms, any handle will have its content flipped unless rendering to a backbuffer, however, the scene view will always be flipped. When transitioning from a flipped space to a non-flipped space - or vice-versa - the content must be flipped in the shader: shouldPerformYFlip = IsHandleYFlipped(source) != IsHandleYFlipped(target)
Declaration
public bool IsHandleYFlipped(RTHandle handle)
Parameters
Type | Name | Description |
---|---|---|
RTHandle | handle | Handle to check the flipped status on. |
Returns
Type | Description |
---|---|
bool | True is the content is flipped in y. |