Class PostEffectsBase
Inheritance
PostEffectsBase
Syntax
public class PostEffectsBase : MonoBehaviour
Fields
isSupported
Declaration
protected bool isSupported
Field Value
supportDX11
Declaration
protected bool supportDX11
Field Value
supportHDRTextures
Declaration
protected bool supportHDRTextures
Field Value
Methods
CheckResources()
Declaration
public virtual bool CheckResources()
Returns
CheckShaderAndCreateMaterial(Shader, Material)
Declaration
protected Material CheckShaderAndCreateMaterial(Shader s, Material m2Create)
Parameters
Type |
Name |
Description |
Shader |
s |
|
Material |
m2Create |
|
Returns
Type |
Description |
Material |
|
CheckSupport()
Declaration
protected bool CheckSupport()
Returns
CheckSupport(Boolean)
Declaration
protected bool CheckSupport(bool needDepth)
Parameters
Type |
Name |
Description |
Boolean |
needDepth |
|
Returns
CheckSupport(Boolean, Boolean)
Declaration
protected bool CheckSupport(bool needDepth, bool needHdr)
Parameters
Returns
CreateMaterial(Shader, Material)
Declaration
protected Material CreateMaterial(Shader s, Material m2Create)
Parameters
Type |
Name |
Description |
Shader |
s |
|
Material |
m2Create |
|
Returns
Type |
Description |
Material |
|
DrawBorder(RenderTexture, Material)
Declaration
protected void DrawBorder(RenderTexture dest, Material material)
Parameters
Type |
Name |
Description |
RenderTexture |
dest |
|
Material |
material |
|
Dx11Support()
Declaration
public bool Dx11Support()
Returns
NotSupported()
Declaration
protected void NotSupported()
ReportAutoDisable()
Declaration
protected void ReportAutoDisable()
Start()
Declaration