C# Class AreaLightTest.AreaLightForm

Datei anzeigen Open project: Patapom/GodComplex

Public Properties

Property Type Description
m_CurrentTime float
m_DeltaTime float
m_StartTime float
m_StopWatch System.Diagnostics.Stopwatch

Public Methods

Method Description
AreaLightForm ( ) : System
ComputeSAT ( System _FileName, System _TargetFileName ) : void

Builds the SAT

GetGameTime ( ) : float

Gets the current game time in seconds

Image2Texture ( System _FileName ) : Texture2D
Image2Texture ( uint _Width, uint _Height, PIXEL_FORMAT _Format, PixelsBuffer _Content ) : Texture2D
Image2Texture ( uint _Width, uint _Height, byte _Content ) : Texture2D
Image2Texture3D ( uint _Width, uint _Height, uint _Depth, PIXEL_FORMAT _Format, PixelsBuffer _SlicesContent ) : Texture3D
Pipi2Texture ( System _FileName ) : Texture2D
PipoImage2Texture ( System _FileName ) : Texture2D
Pipu2Texture ( System _FileName ) : Texture3D

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFormClosed ( FormClosedEventArgs e ) : void
OnLoad ( EventArgs e ) : void

Private Methods

Method Description
AnalyticalBRDFIntegral_Order2 ( float _NdotV, float _roughness, float &_F0term, float &_ambientTerm ) : void
AnalyticalBRDFIntegral_Order3 ( float _NdotV, float _roughness, float &_F0term, float &_ambientTerm ) : void
Application_Idle ( object sender, EventArgs e ) : void
BilinearSample ( float4 _Source, float _X, float _Y ) : float4
BuildBRDFTexture ( System _TableFileName, uint _TableSize ) : Texture2D
BuildPrimitives ( ) : void
Camera_CameraTransformChanged ( object sender, EventArgs e ) : void
ComputeBRDFIntegral ( System _TableFileName0, System _TableFileName1, int _TableSize ) : void
ComputeBRDFIntegral ( System _TableFileName, uint _TableSize ) : void
ComputeBRDFIntegralImportanceSampling ( System _TableFileName0, System _TableFileName1, int _TableSize ) : void
GSmith ( double Roughness, double ndotv, double ndotl ) : double
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RGB2XYZ ( float3 _RGB ) : float3
RGB2xyY ( float3 _RGB ) : float3
RenderScene ( Shader _Shader ) : void
TestBisou ( ) : void
XYZ2RGB ( float3 _XYZ ) : float3
XYZ2xyY ( float3 _XYZ ) : float3
buttonRebuildBRDF_Click ( object sender, EventArgs e ) : void
buttonReload_Click ( object sender, EventArgs e ) : void
checkBoxUseTexture_CheckedChanged ( object sender, EventArgs e ) : void
xyY2RGB ( float3 _xyY ) : float3
xyY2XYZ ( float3 _xyY ) : float3

Method Details

AreaLightForm() public method

public AreaLightForm ( ) : System
return System

ComputeSAT() public method

Builds the SAT
public ComputeSAT ( System _FileName, System _TargetFileName ) : void
_FileName System
_TargetFileName System
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetGameTime() public method

Gets the current game time in seconds
public GetGameTime ( ) : float
return float

Image2Texture() public method

public Image2Texture ( System _FileName ) : Texture2D
_FileName System
return Texture2D

Image2Texture() public method

public Image2Texture ( uint _Width, uint _Height, PIXEL_FORMAT _Format, PixelsBuffer _Content ) : Texture2D
_Width uint
_Height uint
_Format PIXEL_FORMAT
_Content PixelsBuffer
return Texture2D

Image2Texture() public method

public Image2Texture ( uint _Width, uint _Height, byte _Content ) : Texture2D
_Width uint
_Height uint
_Content byte
return Texture2D

Image2Texture3D() public method

public Image2Texture3D ( uint _Width, uint _Height, uint _Depth, PIXEL_FORMAT _Format, PixelsBuffer _SlicesContent ) : Texture3D
_Width uint
_Height uint
_Depth uint
_Format PIXEL_FORMAT
_SlicesContent PixelsBuffer
return Texture3D

OnFormClosed() protected method

protected OnFormClosed ( FormClosedEventArgs e ) : void
e FormClosedEventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e EventArgs
return void

Pipi2Texture() public method

public Pipi2Texture ( System _FileName ) : Texture2D
_FileName System
return Texture2D

PipoImage2Texture() public method

public PipoImage2Texture ( System _FileName ) : Texture2D
_FileName System
return Texture2D

Pipu2Texture() public method

public Pipu2Texture ( System _FileName ) : Texture3D
_FileName System
return Texture3D

Property Details

m_CurrentTime public_oe property

public float m_CurrentTime
return float

m_DeltaTime public_oe property

public float m_DeltaTime
return float

m_StartTime public_oe property

public float m_StartTime
return float

m_StopWatch public_oe property

public System.Diagnostics.Stopwatch m_StopWatch
return System.Diagnostics.Stopwatch