C# Класс AreaLightTest.AreaLightForm

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
m_CurrentTime float
m_DeltaTime float
m_StartTime float
m_StopWatch System.Diagnostics.Stopwatch

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

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

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

Метод Описание
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

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

AreaLightForm() публичный метод

public AreaLightForm ( ) : System
Результат System

ComputeSAT() публичный метод

Builds the SAT
public ComputeSAT ( System _FileName, System _TargetFileName ) : void
_FileName System
_TargetFileName System
Результат void

Dispose() защищенный метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

GetGameTime() публичный метод

Gets the current game time in seconds
public GetGameTime ( ) : float
Результат float

Image2Texture() публичный метод

public Image2Texture ( System _FileName ) : Texture2D
_FileName System
Результат Texture2D

Image2Texture() публичный метод

public Image2Texture ( uint _Width, uint _Height, PIXEL_FORMAT _Format, PixelsBuffer _Content ) : Texture2D
_Width uint
_Height uint
_Format PIXEL_FORMAT
_Content PixelsBuffer
Результат Texture2D

Image2Texture() публичный метод

public Image2Texture ( uint _Width, uint _Height, byte _Content ) : Texture2D
_Width uint
_Height uint
_Content byte
Результат Texture2D

Image2Texture3D() публичный метод

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
Результат Texture3D

OnFormClosed() защищенный метод

protected OnFormClosed ( FormClosedEventArgs e ) : void
e FormClosedEventArgs
Результат void

OnLoad() защищенный метод

protected OnLoad ( EventArgs e ) : void
e EventArgs
Результат void

Pipi2Texture() публичный метод

public Pipi2Texture ( System _FileName ) : Texture2D
_FileName System
Результат Texture2D

PipoImage2Texture() публичный метод

public PipoImage2Texture ( System _FileName ) : Texture2D
_FileName System
Результат Texture2D

Pipu2Texture() публичный метод

public Pipu2Texture ( System _FileName ) : Texture3D
_FileName System
Результат Texture3D

Описание свойств

m_CurrentTime публичное свойство

public float m_CurrentTime
Результат float

m_DeltaTime публичное свойство

public float m_DeltaTime
Результат float

m_StartTime публичное свойство

public float m_StartTime
Результат float

m_StopWatch публичное свойство

public System.Diagnostics.Stopwatch m_StopWatch
Результат System.Diagnostics.Stopwatch