UnityMol  0.9.6-875
UnityMol viewer / In developement
UnityStandardAssets.ImageEffects.CreaseShading Class Reference
+ Inheritance diagram for UnityStandardAssets.ImageEffects.CreaseShading:
+ Collaboration diagram for UnityStandardAssets.ImageEffects.CreaseShading:

Public Member Functions

override bool CheckResources ()
 
- Public Member Functions inherited from UnityStandardAssets.ImageEffects.PostEffectsBase
bool Dx11Support ()
 

Public Attributes

float intensity = 0.5f
 
int softness = 1
 
float spread = 1.0f
 
Shader blurShader = null
 
Shader depthFetchShader = null
 
Shader creaseApplyShader = null
 

Private Member Functions

void OnRenderImage (RenderTexture source, RenderTexture destination)
 

Private Attributes

Material blurMaterial = null
 
Material depthFetchMaterial = null
 
Material creaseApplyMaterial = null
 

Additional Inherited Members

- Protected Member Functions inherited from UnityStandardAssets.ImageEffects.PostEffectsBase
Material CheckShaderAndCreateMaterial (Shader s, Material m2Create)
 
Material CreateMaterial (Shader s, Material m2Create)
 
bool CheckSupport ()
 
void Start ()
 
bool CheckSupport (bool needDepth)
 
bool CheckSupport (bool needDepth, bool needHdr)
 
void ReportAutoDisable ()
 
void NotSupported ()
 
void DrawBorder (RenderTexture dest, Material material)
 
- Protected Attributes inherited from UnityStandardAssets.ImageEffects.PostEffectsBase
bool supportHDRTextures = true
 
bool supportDX11 = false
 
bool isSupported = true
 

Detailed Description

Definition at line 9 of file CreaseShading.cs.

Member Function Documentation

override bool UnityStandardAssets.ImageEffects.CreaseShading.CheckResources ( )
virtual

Reimplemented from UnityStandardAssets.ImageEffects.PostEffectsBase.

Definition at line 25 of file CreaseShading.cs.

void UnityStandardAssets.ImageEffects.CreaseShading.OnRenderImage ( RenderTexture  source,
RenderTexture  destination 
)
private

Definition at line 38 of file CreaseShading.cs.

Member Data Documentation

Material UnityStandardAssets.ImageEffects.CreaseShading.blurMaterial = null
private

Definition at line 16 of file CreaseShading.cs.

Shader UnityStandardAssets.ImageEffects.CreaseShading.blurShader = null

Definition at line 15 of file CreaseShading.cs.

Material UnityStandardAssets.ImageEffects.CreaseShading.creaseApplyMaterial = null
private

Definition at line 22 of file CreaseShading.cs.

Shader UnityStandardAssets.ImageEffects.CreaseShading.creaseApplyShader = null

Definition at line 21 of file CreaseShading.cs.

Material UnityStandardAssets.ImageEffects.CreaseShading.depthFetchMaterial = null
private

Definition at line 19 of file CreaseShading.cs.

Shader UnityStandardAssets.ImageEffects.CreaseShading.depthFetchShader = null

Definition at line 18 of file CreaseShading.cs.

float UnityStandardAssets.ImageEffects.CreaseShading.intensity = 0.5f

Definition at line 11 of file CreaseShading.cs.

int UnityStandardAssets.ImageEffects.CreaseShading.softness = 1

Definition at line 12 of file CreaseShading.cs.

float UnityStandardAssets.ImageEffects.CreaseShading.spread = 1.0f

Definition at line 13 of file CreaseShading.cs.


The documentation for this class was generated from the following file: