C# Class PostEffectsBase

Inheritance: MonoBehaviour
Show file Open project: gsabourin/timebanana Class Usage Examples

Protected Properties

Property Type Description
isSupported bool
supportDX11 bool
supportHDRTextures bool

Public Methods

Method Description
CheckResources ( ) : bool
Dx11Support ( ) : bool

Protected Methods

Method Description
CheckShaderAndCreateMaterial ( Shader s, Material m2Create ) : Material
CheckSupport ( ) : bool
CheckSupport ( bool needDepth ) : bool
CheckSupport ( bool needDepth, bool needHdr ) : bool
CreateMaterial ( Shader s, Material m2Create ) : Material
DrawBorder ( RenderTexture dest, Material material ) : void
NotSupported ( ) : void
OnEnable ( ) : void
ReportAutoDisable ( ) : void
Start ( ) : void

Private Methods

Method Description
CheckShader ( Shader s ) : bool

Method Details

CheckResources() public method

public CheckResources ( ) : bool
return bool

CheckShaderAndCreateMaterial() protected method

protected CheckShaderAndCreateMaterial ( Shader s, Material m2Create ) : Material
s Shader
m2Create Material
return Material

CheckSupport() protected method

protected CheckSupport ( ) : bool
return bool

CheckSupport() protected method

protected CheckSupport ( bool needDepth ) : bool
needDepth bool
return bool

CheckSupport() protected method

protected CheckSupport ( bool needDepth, bool needHdr ) : bool
needDepth bool
needHdr bool
return bool

CreateMaterial() protected method

protected CreateMaterial ( Shader s, Material m2Create ) : Material
s Shader
m2Create Material
return Material

DrawBorder() protected method

protected DrawBorder ( RenderTexture dest, Material material ) : void
dest RenderTexture
material Material
return void

Dx11Support() public method

public Dx11Support ( ) : bool
return bool

NotSupported() protected method

protected NotSupported ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

ReportAutoDisable() protected method

protected ReportAutoDisable ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Property Details

isSupported protected property

protected bool isSupported
return bool

supportDX11 protected property

protected bool supportDX11
return bool

supportHDRTextures protected property

protected bool supportHDRTextures
return bool