![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Types | |
enum | BlurType { BlurType.DiscBlur = 0, BlurType.DX11 = 1 } |
enum | BlurSampleCount { BlurSampleCount.Low = 0, BlurSampleCount.Medium = 1, BlurSampleCount.High = 2 } |
Public Member Functions | |
override bool | CheckResources () |
![]() | |
bool | Dx11Support () |
Public Attributes | |
bool | visualizeFocus = false |
float | focalLength = 10.0f |
float | focalSize = 0.05f |
float | aperture = 0.5f |
Transform | focalTransform = null |
float | maxBlurSize = 2.0f |
bool | highResolution = false |
BlurType | blurType = BlurType.DiscBlur |
BlurSampleCount | blurSampleCount = BlurSampleCount.High |
bool | nearBlur = false |
float | foregroundOverlap = 1.0f |
Shader | dofHdrShader |
Shader | dx11BokehShader |
float | dx11BokehThreshold = 0.5f |
float | dx11SpawnHeuristic = 0.0875f |
Texture2D | dx11BokehTexture = null |
float | dx11BokehScale = 1.2f |
float | dx11BokehIntensity = 2.5f |
Private Member Functions | |
void | OnEnable () |
void | OnDisable () |
void | ReleaseComputeResources () |
void | CreateComputeResources () |
float | FocalDistance01 (float worldDist) |
void | WriteCoc (RenderTexture fromTo, bool fgDilate) |
void | OnRenderImage (RenderTexture source, RenderTexture destination) |
Private Attributes | |
Material | dofHdrMaterial = null |
Material | dx11bokehMaterial |
float | focalDistance01 = 10.0f |
ComputeBuffer | cbDrawArgs |
ComputeBuffer | cbPoints |
float | internalBlurWidth = 1.0f |
Camera | cachedCamera |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
bool | supportHDRTextures = true |
bool | supportDX11 = false |
bool | isSupported = true |
Definition at line 9 of file DepthOfField.cs.
Enumerator | |
---|---|
Low | |
Medium | |
High |
Definition at line 24 of file DepthOfField.cs.
Enumerator | |
---|---|
DiscBlur | |
DX11 |
Definition at line 19 of file DepthOfField.cs.
|
virtual |
Reimplemented from UnityStandardAssets.ImageEffects.PostEffectsBase.
Definition at line 55 of file DepthOfField.cs.
|
private |
Definition at line 91 of file DepthOfField.cs.
|
private |
Definition at line 105 of file DepthOfField.cs.
|
private |
Definition at line 75 of file DepthOfField.cs.
|
private |
Definition at line 70 of file DepthOfField.cs.
|
private |
Definition at line 147 of file DepthOfField.cs.
|
private |
Definition at line 84 of file DepthOfField.cs.
|
private |
Definition at line 109 of file DepthOfField.cs.
float UnityStandardAssets.ImageEffects.DepthOfField.aperture = 0.5f |
Definition at line 14 of file DepthOfField.cs.
Referenced by AdvancedOptionsOldGUI.Effects().
BlurSampleCount UnityStandardAssets.ImageEffects.DepthOfField.blurSampleCount = BlurSampleCount.High |
Definition at line 31 of file DepthOfField.cs.
BlurType UnityStandardAssets.ImageEffects.DepthOfField.blurType = BlurType.DiscBlur |
Definition at line 30 of file DepthOfField.cs.
|
private |
Definition at line 53 of file DepthOfField.cs.
|
private |
Definition at line 49 of file DepthOfField.cs.
|
private |
Definition at line 50 of file DepthOfField.cs.
|
private |
Definition at line 37 of file DepthOfField.cs.
Shader UnityStandardAssets.ImageEffects.DepthOfField.dofHdrShader |
Definition at line 36 of file DepthOfField.cs.
float UnityStandardAssets.ImageEffects.DepthOfField.dx11BokehIntensity = 2.5f |
Definition at line 46 of file DepthOfField.cs.
|
private |
Definition at line 40 of file DepthOfField.cs.
float UnityStandardAssets.ImageEffects.DepthOfField.dx11BokehScale = 1.2f |
Definition at line 45 of file DepthOfField.cs.
Shader UnityStandardAssets.ImageEffects.DepthOfField.dx11BokehShader |
Definition at line 39 of file DepthOfField.cs.
Texture2D UnityStandardAssets.ImageEffects.DepthOfField.dx11BokehTexture = null |
Definition at line 44 of file DepthOfField.cs.
float UnityStandardAssets.ImageEffects.DepthOfField.dx11BokehThreshold = 0.5f |
Definition at line 42 of file DepthOfField.cs.
float UnityStandardAssets.ImageEffects.DepthOfField.dx11SpawnHeuristic = 0.0875f |
Definition at line 43 of file DepthOfField.cs.
|
private |
Definition at line 48 of file DepthOfField.cs.
float UnityStandardAssets.ImageEffects.DepthOfField.focalLength = 10.0f |
Definition at line 12 of file DepthOfField.cs.
float UnityStandardAssets.ImageEffects.DepthOfField.focalSize = 0.05f |
Definition at line 13 of file DepthOfField.cs.
Transform UnityStandardAssets.ImageEffects.DepthOfField.focalTransform = null |
Definition at line 15 of file DepthOfField.cs.
Referenced by SelectAtomFocus.Update().
float UnityStandardAssets.ImageEffects.DepthOfField.foregroundOverlap = 1.0f |
Definition at line 34 of file DepthOfField.cs.
bool UnityStandardAssets.ImageEffects.DepthOfField.highResolution = false |
Definition at line 17 of file DepthOfField.cs.
|
private |
Definition at line 51 of file DepthOfField.cs.
float UnityStandardAssets.ImageEffects.DepthOfField.maxBlurSize = 2.0f |
Definition at line 16 of file DepthOfField.cs.
bool UnityStandardAssets.ImageEffects.DepthOfField.nearBlur = false |
Definition at line 33 of file DepthOfField.cs.
bool UnityStandardAssets.ImageEffects.DepthOfField.visualizeFocus = false |
Definition at line 11 of file DepthOfField.cs.