C# Класс Indiefreaks.Xna.Rendering.PostProcess.DepthOfFieldPostProcessor

Adds a Depth of field effect to the current rendered scene @Credits: Bamyazi (Slightly modified) Thanks for this ;-)
Наследование: BaseRenderTargetPostProcessor
Показать файл Открыть проект

Открытые методы

Метод Описание
ApplyPreferences ( ISystemPreferences preferences ) : void

Use to apply user quality and performance preferences to the resources managed by this object.

DepthOfFieldPostProcessor ( ) : System

Creates a BaseRenderTargetPostProcessor instance.

EndFrameRendering ( ) : void

Приватные методы

Метод Описание
ComputeKernel ( int blurRadius, float blurAmount ) : void

Computes the kernel for the Gaussian blur effect.

ComputeOffsets ( float textureWidth, float textureHeight ) : void

Computes the sample offsets for the Gaussian blur effect.

Описание методов

ApplyPreferences() публичный Метод

Use to apply user quality and performance preferences to the resources managed by this object.
public ApplyPreferences ( ISystemPreferences preferences ) : void
preferences ISystemPreferences
Результат void

DepthOfFieldPostProcessor() публичный Метод

Creates a BaseRenderTargetPostProcessor instance.
public DepthOfFieldPostProcessor ( ) : System
Результат System

EndFrameRendering() публичный Метод

public EndFrameRendering ( ) : void
Результат void