C4 Engine
C4 Engine API Documentation

ViewportWidget::DisableViewportTexture

Defined in:  C4Viewports.h
Deallocates the texture map for a viewport widget.
Prototype

void DisableViewportTexture(void);

Description
The DisableViewportTexture function deallocates the internal texture map that is used to hold the image rendered into a viewport. After this function is called, the texture rendering callback function installed with the ViewportWidget::SetTextureRenderCallback function is no longer called.
See Also

ViewportWidget::EnableViewportTexture

ViewportWidget::InvalidateViewportTexture

ViewportWidget::SetTextureRenderCallback

ViewportWidget::SetDirectRenderCallback