C# Class GameCommon.LDRBloomCompositorInstance

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

Protected Methods

Method Description
OnCreateTexture ( string definitionName, Vec2i &size ) : 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

Method Details

OnCreateTexture() protected method

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

OnMaterialRender() protected method

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