C# Class AreaLightTest.AreaLightForm

Afficher le fichier Open project: Patapom/GodComplex

Méthodes publiques

Свойство Type Description
m_CurrentTime float
m_DeltaTime float
m_StartTime float
m_StopWatch System.Diagnostics.Stopwatch

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Private Methods

Méthode 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 méthode

public AreaLightForm ( ) : System
Résultat System

ComputeSAT() public méthode

Builds the SAT
public ComputeSAT ( System _FileName, System _TargetFileName ) : void
_FileName System
_TargetFileName System
Résultat void

Dispose() protected méthode

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

GetGameTime() public méthode

Gets the current game time in seconds
public GetGameTime ( ) : float
Résultat float

Image2Texture() public méthode

public Image2Texture ( System _FileName ) : Texture2D
_FileName System
Résultat Texture2D

Image2Texture() public méthode

public Image2Texture ( uint _Width, uint _Height, PIXEL_FORMAT _Format, PixelsBuffer _Content ) : Texture2D
_Width uint
_Height uint
_Format PIXEL_FORMAT
_Content PixelsBuffer
Résultat Texture2D

Image2Texture() public méthode

public Image2Texture ( uint _Width, uint _Height, byte _Content ) : Texture2D
_Width uint
_Height uint
_Content byte
Résultat Texture2D

Image2Texture3D() public méthode

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
Résultat Texture3D

OnFormClosed() protected méthode

protected OnFormClosed ( FormClosedEventArgs e ) : void
e FormClosedEventArgs
Résultat void

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

Pipi2Texture() public méthode

public Pipi2Texture ( System _FileName ) : Texture2D
_FileName System
Résultat Texture2D

PipoImage2Texture() public méthode

public PipoImage2Texture ( System _FileName ) : Texture2D
_FileName System
Résultat Texture2D

Pipu2Texture() public méthode

public Pipu2Texture ( System _FileName ) : Texture3D
_FileName System
Résultat Texture3D

Property Details

m_CurrentTime public_oe property

public float m_CurrentTime
Résultat float

m_DeltaTime public_oe property

public float m_DeltaTime
Résultat float

m_StartTime public_oe property

public float m_StartTime
Résultat float

m_StopWatch public_oe property

public System.Diagnostics.Stopwatch m_StopWatch
Résultat System.Diagnostics.Stopwatch