C# Class GameCommon.HDRCompositorInstance

Inheritance: CompositorInstance
Mostra file Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Protected Methods

Method Description
OnCreate ( ) : void
OnCreateTexture ( string definitionName, Vec2i &size ) : void
OnDestroy ( ) : void
OnMaterialRender ( uint passId, Material material, bool &skipPass ) : void

Private Methods

Method Description
CalculateBloomSampleOffsets ( int textureSize, float sampleOffsets, Vec4 sampleWeights, float deviation, float multiplier ) : void
CalculateDownScale4x4SampleOffsets ( Vec2i sourceTextureSize, Vec2 sampleOffsets ) : void
CalculateGaussianBlur5x5SampleOffsets ( Vec2i textureSize, Vec2 sampleOffsets, Vec4 sampleWeights, float multiplier ) : void
GaussianDistribution ( float x, float y, float rho ) : float
RenderSystemEvent ( RenderSystemEvents name ) : void

Method Details

OnCreate() protected method

protected OnCreate ( ) : void
return void

OnCreateTexture() protected method

protected OnCreateTexture ( string definitionName, Vec2i &size ) : void
definitionName string
size Vec2i
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnMaterialRender() protected method

protected OnMaterialRender ( uint passId, Material material, bool &skipPass ) : void
passId uint
material Material
skipPass bool
return void