M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.View Class Reference

Inherits NativeObject.

Inherited by TaleWorlds.Engine.SceneView, TaleWorlds.Engine.TextureView, TaleWorlds.Engine.ThumbnailCreatorView, TaleWorlds.Engine.TwoDimensionView, and TaleWorlds.Engine.VideoPlayerView.

Public Types

enum  TextureSaveFormat
 
enum  PostfxConfig : uint
 
enum  ViewRenderOptions : int
 

Public Member Functions

void SetScale (Vec2 scale)
 
void SetOffset (Vec2 offset)
 
void SetRenderOrder (int value)
 
void SetRenderOption (ViewRenderOptions optionEnum, bool value)
 
void SetRenderTarget (Texture texture)
 
void SetDepthTarget (Texture texture)
 
void DontClearBackground ()
 
void SetClearColor (uint rgba)
 
void SetEnable (bool value)
 
void SetRenderOnDemand (bool value)
 
void SetAutoDepthTargetCreation (bool value)
 
void SetSaveFinalResultToDisk (bool value)
 
void SetFileNameToSaveResult (string name)
 
void SetFileTypeToSave (TextureSaveFormat format)
 
void SetFilePathToSaveResult (string name)
 

Member Enumeration Documentation

◆ TextureSaveFormat

◆ PostfxConfig

◆ ViewRenderOptions

Member Function Documentation

◆ SetScale()

void TaleWorlds.Engine.View.SetScale ( Vec2  scale)

◆ SetOffset()

void TaleWorlds.Engine.View.SetOffset ( Vec2  offset)

◆ SetRenderOrder()

void TaleWorlds.Engine.View.SetRenderOrder ( int  value)

◆ SetRenderOption()

void TaleWorlds.Engine.View.SetRenderOption ( ViewRenderOptions  optionEnum,
bool  value 
)

◆ SetRenderTarget()

void TaleWorlds.Engine.View.SetRenderTarget ( Texture  texture)

◆ SetDepthTarget()

void TaleWorlds.Engine.View.SetDepthTarget ( Texture  texture)

◆ DontClearBackground()

void TaleWorlds.Engine.View.DontClearBackground ( )

◆ SetClearColor()

void TaleWorlds.Engine.View.SetClearColor ( uint  rgba)

◆ SetEnable()

void TaleWorlds.Engine.View.SetEnable ( bool  value)

◆ SetRenderOnDemand()

void TaleWorlds.Engine.View.SetRenderOnDemand ( bool  value)

◆ SetAutoDepthTargetCreation()

void TaleWorlds.Engine.View.SetAutoDepthTargetCreation ( bool  value)

◆ SetSaveFinalResultToDisk()

void TaleWorlds.Engine.View.SetSaveFinalResultToDisk ( bool  value)

◆ SetFileNameToSaveResult()

void TaleWorlds.Engine.View.SetFileNameToSaveResult ( string  name)

◆ SetFileTypeToSave()

void TaleWorlds.Engine.View.SetFileTypeToSave ( TextureSaveFormat  format)

◆ SetFilePathToSaveResult()

void TaleWorlds.Engine.View.SetFilePathToSaveResult ( string  name)