|
"L. Spiro Engine"
|
Most core graphics functions are found here. More...
#include <LSGFnd.h>
Static Public Member Functions | |
| static LSE_INLINE LSVOID LSE_FCALL | AssertError () |
| static LSVOID LSE_CALL | ApplyDefaultStates () |
| static LSE_INLINE LSVOID LSE_FCALL | Present () |
| static LSE_INLINE const CFndBase::LSG_METRICS LSE_CALL | GetMetrics () |
| static LSE_INLINE CRenderTargetManager *LSE_CALL | RenderTargetMan () |
| static LSE_INLINE CPostProcessor *LSE_CALL | PostProcessor () |
| static LSE_INLINE LSVOID LSE_FCALL | Clear (LSUINT32 _ui32Mask) |
| static LSE_INLINE LSVOID LSE_FCALL | ClearAll () |
| static LSE_INLINE LSVOID LSE_CALL | SetClearColor (LSREAL _fR, LSREAL _fG, LSREAL _fB, LSREAL _fA) |
| static LSE_INLINE LSVOID LSE_FCALL | SetClearDepth (LSREAL _fValue) |
| static LSE_INLINE LSVOID LSE_FCALL | SetViewport (LSINT32 _i32X, LSINT32 _i32Y, LSINT32 _i32Width, LSINT32 _i32Height) |
| static LSE_INLINE LSVOID LSE_CALL | SaveViewPort () |
| static LSE_INLINE LSVOID LSE_CALL | RestoreViewPort () |
| static LSE_INLINE LSVOID LSE_CALL | SetFlipVertical (LSBOOL _bVal) |
| static LSE_INLINE LSVOID LSE_FCALL | SetDepthTest (LSBOOL _bVal) |
| static LSE_INLINE LSVOID LSE_FCALL | SetDepthFunc (LSG_DEPTH_TEST _dtFunc) |
| static LSE_INLINE LSVOID LSE_FCALL | SetDepthWrite (LSBOOL _bVal) |
| static LSE_INLINE LSVOID LSE_FCALL | SetCulling (LSBOOL _bVal) |
| static LSE_INLINE LSVOID LSE_FCALL | SetCullMode (LSG_CULL_MODES _cmMode) |
| static LSE_INLINE LSG_CULL_MODES LSE_CALL | GetCullMode () |
| static LSE_INLINE LSG_CULL_MODES LSE_CALL | GetReverseCullMode (LSG_CULL_MODES _cmMode) |
| static LSE_INLINE LSVOID LSE_FCALL | SetBlendEnabled (LSBOOL _bVal) |
| static LSE_INLINE LSVOID LSE_FCALL | SetBlendFunc (LSG_BLEND_MODES _bmSrc, LSG_BLEND_MODES _bmDst) |
| static LSE_INLINE LSVOID LSE_FCALL | SetFillMode (LSG_FILL_MODES _fmMode) |
| static LSE_INLINE LSBOOL LSE_FCALL | BeginRender () |
| static LSE_INLINE LSVOID LSE_FCALL | EndRender () |
| static LSE_INLINE LSVOID LSE_FCALL | SetScreenSize (LSUINT32 _ui32Width, LSUINT32 _ui32Height) |
| static LSE_INLINE LSUINT32 LSE_CALL | GetScreenWidth () |
| static LSE_INLINE LSUINT32 LSE_CALL | GetScreenHeight () |
| static LSE_INLINE LSVOID LSE_FCALL | SetWorldMatrix (const CMatrix4x4 &_mMat) |
| static LSE_INLINE const CMatrix4x4 &LSE_FCALL | GetWorldMatrix () |
| static LSE_INLINE LSVOID LSE_FCALL | SetViewMatrix (const CMatrix4x4 &_mMat) |
| static LSE_INLINE const CMatrix4x4 &LSE_FCALL | GetViewMatrix () |
| static LSE_INLINE LSVOID LSE_FCALL | SetProjMatrix (const CMatrix4x4 &_mMat) |
| static LSE_INLINE const CMatrix4x4 &LSE_FCALL | GetProjMatrix () |
| static LSE_INLINE CMatrix4x4 LSE_CALL | OffsetOrtho (LSREAL _fLeft, LSREAL _fRight, LSREAL _fBottom, LSREAL _fTop, LSREAL _fNear, LSREAL _fFar) |
| static LSE_INLINE LSVOID LSE_FCALL | SetDiffuseMaterial (const CVector4 &_vColor) |
| static LSE_INLINE LSVOID LSE_FCALL | SetAmbientMaterial (const CVector4 &_vColor) |
| static LSE_INLINE LSVOID LSE_FCALL | SetEmissiveMaterial (const CVector4 &_vColor) |
| static LSE_INLINE LSVOID LSE_FCALL | SetSpecularMaterial (const CVector4 &_vColor) |
| static LSE_INLINE LSVOID LSE_FCALL | SetMaterialPower (LSREAL _fPower) |
| static LSE_INLINE LSVOID LSE_FCALL | SetRoughness (LSREAL _fValue) |
| static LSE_INLINE LSVOID LSE_FCALL | SetReflectivity (LSREAL _fValue) |
| static LSE_INLINE LSVOID LSE_FCALL | SetAnisotropy (LSREAL _fX, LSREAL _fY) |
| static LSE_INLINE LSVOID LSE_FCALL | DisableLight (LSUINT32 _ui32Slot) |
| static LSE_INLINE LSVOID LSE_FCALL | SetDirectionalLight (LSUINT32 _ui32Slot, const CVector3 &_vDir, const CVector3 &_vDiffuse=CVector3(LSM_ONE, LSM_ONE, LSM_ONE), const CVector3 &_vAmbient=CVector3(LSM_ZERO, LSM_ZERO, LSM_ZERO), const CVector3 &_vSpecular=CVector3(LSM_ONE, LSM_ONE, LSM_ONE)) |
| static LSE_INLINE LSVOID LSE_FCALL | SetHemisphereGroundColor (const CVector3 &_vColor) |
| static LSE_INLINE LSVOID LSE_FCALL | SetHemisphereSkyColor (const CVector3 &_vColor) |
| static LSE_INLINE LSVOID LSE_FCALL | SetHemisphereLighting (LSBOOL _bVal) |
| static LSE_INLINE LSBOOL LSE_FCALL | GetHemisphereLighting () |
| static LSE_INLINE LSBOOL LSE_FCALL | AnyLightsActive () |
| static LSE_INLINE LSVOID LSE_FCALL | SetShadowMapActive (LSBOOL _bVal) |
| static LSE_INLINE LSBOOL LSE_CALL | GetShadowMapActive () |
| static LSE_INLINE const CMatrix4x4 &LSE_CALL | GetShadowMapMatrix () |
| static LSE_INLINE LSVOID LSE_CALL | SetShadowMapMatrix (const CMatrix4x4 &_mMat) |
| static LSE_INLINE LSVOID LSE_CALL | SetShadowMapUVDepthFactors (LSREAL _fU, LSREAL _fV, LSREAL _fDepth) |
| static LSE_INLINE LSVOID LSE_CALL | SetShadowMapCasterSize (LSREAL _fSize) |
| static LSE_INLINE LSVOID LSE_CALL | SetGaussian (LSFLOAT _fVal) |
| static LSE_INLINE LSFLOAT LSE_CALL | GetGaussian () |
| static LSE_INLINE LSVOID LSE_CALL | SetExposure (LSFLOAT _fVal) |
| static LSE_INLINE LSFLOAT LSE_CALL | GetExposure () |
| static LSE_INLINE LSVOID LSE_CALL | SetBrightCutoff (LSFLOAT _fVal) |
| static LSE_INLINE LSFLOAT LSE_CALL | GetBrightCutoff () |
| static LSE_INLINE LSVOID LSE_CALL | SetTimeSinceLastRender (LSFLOAT _fVal) |
| static LSE_INLINE LSFLOAT LSE_CALL | GetTimeSinceLastRender () |
| static LSE_INLINE LSVOID LSE_FCALL | SetShader (CShader *_psShader) |
| static LSE_INLINE CShader *LSE_FCALL | GetShader () |
| static LSVOID LSE_FCALL | Render (LSUINT32 _ui32TotalPrimitives, const CIndexBuffer *_pibIndexBuffer=NULL) |
| static LSE_INLINE LSVOID LSE_FCALL | SetMakeDepthCopy (LSBOOL _bVal) |
| static LSE_INLINE LSBOOL LSE_CALL | GetMakeDepthCopy () |
| static LSE_INLINE LSVOID LSE_FCALL | SetMakeNormalCopy (LSBOOL _bVal) |
| static LSE_INLINE LSBOOL LSE_CALL | GetMakeNormalCopy () |
| static LSE_INLINE LSBOOL LSE_CALL | NonPo2 () |
| static LSE_INLINE LSUINT64 LSE_CALL | GetTrianglesDrawn () |
| static LSE_INLINE LSVOID LSE_CALL | ClearTriangles () |
| static LSE_INLINE CVertexBuffer *LSE_CALL | GetPostProcVertBuf () |
| static LSBOOL LSE_CALL | PreparePostProcess (LSUINT32 _ui32Width, LSUINT32 _ui32Height) |
Static Protected Member Functions | |
| static LSVOID LSE_CALL | ApplyLightsToCurrentShader () |
Static Protected Attributes | |
| static LSUINT64 | m_ui64TrianglesDrawn |
Most core graphics functions are found here.
Class CFnd Description: Most core graphics functions are found here.
| LSE_INLINE LSBOOL LSE_FCALL lsg::CFnd::AnyLightsActive | ( | ) | [static] |
Gets whether or not any lights are active.
| static LSVOID LSE_CALL lsg::CFnd::ApplyDefaultStates | ( | ) | [static] |
Apply the default graphics states.
| static LSVOID LSE_CALL lsg::CFnd::ApplyLightsToCurrentShader | ( | ) | [static, protected] |
Apply lighting data to the current shader.
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::AssertError | ( | ) | [static] |
In OpenGL and OpenGL ES debug builds, this checks the error state of OpenGL. In all other cases, this is an empty call.
| LSE_INLINE LSBOOL LSE_FCALL lsg::CFnd::BeginRender | ( | ) | [static] |
Begin rendering. Must be called once per frame only, before any rendering takes place.
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::Clear | ( | LSUINT32 | _ui32Mask | ) | [static] |
Clear the active buffer of the given type(s).
| _ui32Mask | The buffer(s) to clear. Must be one or more LSG_BUFFERS enumerated values. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::ClearAll | ( | ) | [static] |
Clear all active buffers.
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::ClearTriangles | ( | ) | [static] |
Clear the number of triangles drawn.
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::DisableLight | ( | LSUINT32 | _ui32Slot | ) | [static] |
Disable a light at the given index.
| _ui32Slot | Index of the light to disable. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::EndRender | ( | ) | [static] |
End rendering. Must be called once per frame only, after all rendering is done.
| LSE_INLINE LSFLOAT LSE_CALL lsg::CFnd::GetBrightCutoff | ( | ) | [static] |
Gets the bright cut-off.
| LSE_INLINE LSG_CULL_MODES LSE_CALL lsg::CFnd::GetCullMode | ( | ) | [static] |
Gets the cull winding order.
| LSE_INLINE LSFLOAT LSE_CALL lsg::CFnd::GetExposure | ( | ) | [static] |
Gets the exposure.
| LSE_INLINE LSFLOAT LSE_CALL lsg::CFnd::GetGaussian | ( | ) | [static] |
Gets the gaussian value.
| LSE_INLINE LSBOOL LSE_FCALL lsg::CFnd::GetHemisphereLighting | ( | ) | [static] |
Gets whether hemisphere lighting is enabled or not.
| LSE_INLINE LSBOOL LSE_CALL lsg::CFnd::GetMakeDepthCopy | ( | ) | [static] |
Gets whether or not the creation of depth copies is desired.
| LSE_INLINE LSBOOL LSE_CALL lsg::CFnd::GetMakeNormalCopy | ( | ) | [static] |
Gets whether or not the creation of normal copies is desired.
| LSE_INLINE const CFndBase::LSG_METRICS LSE_CALL lsg::CFnd::GetMetrics | ( | ) | [static] |
Gets the system metrics.
| LSE_INLINE CVertexBuffer *LSE_CALL lsg::CFnd::GetPostProcVertBuf | ( | ) | [static] |
Gets the post-processing vertex buffer.
| LSE_INLINE const CMatrix4x4 &LSE_FCALL lsg::CFnd::GetProjMatrix | ( | ) | [static] |
Gets the projection matrix.
| LSE_INLINE LSG_CULL_MODES LSE_CALL lsg::CFnd::GetReverseCullMode | ( | LSG_CULL_MODES | _cmMode | ) | [static] |
Gets the opposite culling mode from the one given.
| _cmMode | The culling mode whose opposite is to be returned. |
| LSE_INLINE LSUINT32 LSE_CALL lsg::CFnd::GetScreenHeight | ( | ) | [static] |
Gets the screen height.
| LSE_INLINE LSUINT32 LSE_CALL lsg::CFnd::GetScreenWidth | ( | ) | [static] |
Gets the screen width.
| LSE_INLINE CShader *LSE_FCALL lsg::CFnd::GetShader | ( | ) | [static] |
Gets the current shader. If no shader is set, NULL is returned.
| LSE_INLINE LSBOOL LSE_CALL lsg::CFnd::GetShadowMapActive | ( | ) | [static] |
Gets whether or not there is a shadow map active in the highest available texture slot.
| LSE_INLINE const CMatrix4x4 &LSE_CALL lsg::CFnd::GetShadowMapMatrix | ( | ) | [static] |
Gets the shadow map matrix.
| LSE_INLINE LSFLOAT LSE_CALL lsg::CFnd::GetTimeSinceLastRender | ( | ) | [static] |
Gets the time since the last render in seconds.
| LSE_INLINE LSUINT64 LSE_CALL lsg::CFnd::GetTrianglesDrawn | ( | ) | [static] |
Gets the number of triangles drawn.
| LSE_INLINE const CMatrix4x4 &LSE_FCALL lsg::CFnd::GetViewMatrix | ( | ) | [static] |
Gets the view matrix.
| LSE_INLINE const CMatrix4x4 &LSE_FCALL lsg::CFnd::GetWorldMatrix | ( | ) | [static] |
Gets the world matrix.
| LSE_INLINE LSBOOL LSE_CALL lsg::CFnd::NonPo2 | ( | ) | [static] |
Are non-power-of-2 textures supported?
| LSE_INLINE CMatrix4x4 LSE_CALL lsg::CFnd::OffsetOrtho | ( | LSREAL | _fLeft, |
| LSREAL | _fRight, | ||
| LSREAL | _fBottom, | ||
| LSREAL | _fTop, | ||
| LSREAL | _fNear, | ||
| LSREAL | _fFar | ||
| ) | [static] |
Creates an orthogonal matrix that accounts for any pixel offsets considered by the API. For example, in OpenGL, [0,0] reads the upper-left corner of the pixel, whereas in Direct3D 9 it reads the center of the pixel.
| _tLeft | Minimum x-value of the view volume. |
| _tRight | Maximum x-value of the view volume. |
| _tBottom | Minimum y-value of the view volume. |
| _tTop | Maximum y-value of the view volume. |
| _tNear | Minimum z-value of the view volume. |
| _tFar | Maximum z-value of the view volume. |
| LSE_INLINE CPostProcessor *LSE_CALL lsg::CFnd::PostProcessor | ( | ) | [static] |
Gets the system post processor.
| static LSBOOL LSE_CALL lsg::CFnd::PreparePostProcess | ( | LSUINT32 | _ui32Width, |
| LSUINT32 | _ui32Height | ||
| ) | [static] |
Prepares for a post-processing pass. Sets blending modes, culling, depth-testing, etc., and applies a world matrix, view matrix, and projection matrix. It also activates the vertex buffer returned by GetPostProcVertBuf() to stream 0.
| _ui32Width | Width of the render target to which the post processing will be output. |
| _ui32Height | Height of the render target to which the post processing will be output. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::Present | ( | ) | [static] |
Present the backbuffer to the screen.
| static LSVOID LSE_FCALL lsg::CFnd::Render | ( | LSUINT32 | _ui32TotalPrimitives, |
| const CIndexBuffer * | _pibIndexBuffer = NULL |
||
| ) | [static] |
Render all activate vertex/index buffers.
| _ui32TotalPrimitives | The total number of primitives to render. |
| _pibIndexBuffer | An optional index buffer to use for the render. |
| LSE_INLINE CRenderTargetManager *LSE_CALL lsg::CFnd::RenderTargetMan | ( | ) | [static] |
Gets the system render target manager.
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::RestoreViewPort | ( | ) | [static] |
Restore a saved viewport.
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SaveViewPort | ( | ) | [static] |
Save the current viewport dimensions. Used in conjunction with RestoreViewPort().
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetAmbientMaterial | ( | const CVector4 & | _vColor | ) | [static] |
Sets the ambient material value.
| _vColor | The ambient color to set. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetAnisotropy | ( | LSREAL | _fX, |
| LSREAL | _fY | ||
| ) | [static] |
Sets the anisotropy terms.
| _fX | The X term. |
| _fY | The Y term. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetBlendEnabled | ( | LSBOOL | _bVal | ) | [static] |
Enable or disable blending with the backbuffer.
| _bVal | Whether blending with the backbuffer is enabled or disabled. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetBlendFunc | ( | LSG_BLEND_MODES | _bmSrc, |
| LSG_BLEND_MODES | _bmDst | ||
| ) | [static] |
Sets the blend functions for the source (color output from a shader) and destination (the current backbuffer).
| _bmSrc | The source blend function. |
| _bmDst | The destination blend function. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetBrightCutoff | ( | LSFLOAT | _fVal | ) | [static] |
Sets the bright cut-off.
| _fVal | The new bright cut-off. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetClearColor | ( | LSREAL | _fR, |
| LSREAL | _fG, | ||
| LSREAL | _fB, | ||
| LSREAL | _fA | ||
| ) | [static] |
Sets the clear color.
| _fR | Red value. |
| _fG | Green value. |
| _fB | Blue value. |
| _fA | Alpha value. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetClearDepth | ( | LSREAL | _fValue | ) | [static] |
Sets the depth clear value.
| _fValue | The new depth clear value. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetCulling | ( | LSBOOL | _bVal | ) | [static] |
Sets culling to on or off.
| _bVal | Whether culling is enabled or disabled. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetCullMode | ( | LSG_CULL_MODES | _cmMode | ) | [static] |
Sets the cull winding order.
| _cmMode | The cull winding. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetDepthFunc | ( | LSG_DEPTH_TEST | _dtFunc | ) | [static] |
Sets the depth-test function.
| _dtFunc | The depth-test function to set. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetDepthTest | ( | LSBOOL | _bVal | ) | [static] |
Sets depth testing to on or off.
| _bVal | Whether depth testing is enabled or disabled. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetDepthWrite | ( | LSBOOL | _bVal | ) | [static] |
Sets depth writing to on or off.
| _bVal | Whether depth writing is enabled or disabled. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetDiffuseMaterial | ( | const CVector4 & | _vColor | ) | [static] |
Sets the diffuse material value.
| _vColor | The diffuse color to set. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetDirectionalLight | ( | LSUINT32 | _ui32Slot, |
| const CVector3 & | _vDir, | ||
| const CVector3 & | _vDiffuse = CVector3( LSM_ONE, LSM_ONE, LSM_ONE ), |
||
| const CVector3 & | _vAmbient = CVector3( LSM_ZERO, LSM_ZERO, LSM_ZERO ), |
||
| const CVector3 & | _vSpecular = CVector3( LSM_ONE, LSM_ONE, LSM_ONE ) |
||
| ) | [static] |
Sets a directional light in a given slot.
| _ui32Slot | The slot into which to set the directional light. |
| _vDir | The direction of the light. |
| _vDiffuse | The diffuse color of the light. |
| _vAmbient | The ambient color of the light. |
| _vSpecular | The specular color of the light. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetEmissiveMaterial | ( | const CVector4 & | _vColor | ) | [static] |
Sets the emissive material value.
| _vColor | The emissive color to set. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetExposure | ( | LSFLOAT | _fVal | ) | [static] |
Sets the exposure.
| _fVal | The new exposure. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetFillMode | ( | LSG_FILL_MODES | _fmMode | ) | [static] |
Sets the fill mode.
| _fmMode | The fill mode to set. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetFlipVertical | ( | LSBOOL | _bVal | ) | [static] |
Sets the flag that enables or disables vertically flipping the render. Typically used only by render targets.
| _bVal | Whether depth vertical flipped rendering is enabled or disabled. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetGaussian | ( | LSFLOAT | _fVal | ) | [static] |
Sets the gaussian value.
| _fVal | The new gaussian value. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetHemisphereGroundColor | ( | const CVector3 & | _vColor | ) | [static] |
Sets the hemisphere-lighting ground color.
| _vColor | The value to apply to hemisphere-lighting's ground color. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetHemisphereLighting | ( | LSBOOL | _bVal | ) | [static] |
Sets hemisphere lighting to enabled or disabled.
| _bVal | The value to which to set hemisphere lighting. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetHemisphereSkyColor | ( | const CVector3 & | _vColor | ) | [static] |
Sets the hemisphere-lighting sky color.
| _vColor | The value to apply to hemisphere-lighting's sky color. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetMakeDepthCopy | ( | LSBOOL | _bVal | ) | [static] |
Sets shaders to either make a depth copy or not. Only works if depth buffers are not directly readable.
| _bVal | The new value. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetMakeNormalCopy | ( | LSBOOL | _bVal | ) | [static] |
Sets shaders to either make a normal copy or not.
| _bVal | The new value. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetMaterialPower | ( | LSREAL | _fPower | ) | [static] |
Sets the material power value. Must be between 0 and 128.
| _fPower | The new material specular power. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetProjMatrix | ( | const CMatrix4x4 & | _mMat | ) | [static] |
Sets the projection matrix.
| _mMat | the projection matrix to set. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetReflectivity | ( | LSREAL | _fValue | ) | [static] |
Sets the Cook-Torrance reflectivity value.
| _fValue | The value to set. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetRoughness | ( | LSREAL | _fValue | ) | [static] |
Sets the Cook-Torrance roughness value.
| _fValue | The value to set. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetScreenSize | ( | LSUINT32 | _ui32Width, |
| LSUINT32 | _ui32Height | ||
| ) | [static] |
Sets the screen dimensions.
| _ui32Width | The new screen width. |
| _ui32Height | the new screen height. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetShader | ( | CShader * | _psShader | ) | [static] |
Sets the current shader. A shader must be set in order to render.
| _psShader | The shader to use for the current render. NULL is a valid value, but rendering without a shader is not permitted. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetShadowMapActive | ( | LSBOOL | _bVal | ) | [static] |
Sets whether or not there is a shadow map active in the highest available texture slot.
| _bVal | The value to which to set the flag indicating a shadow-map texture is active in the highest available slot. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetShadowMapCasterSize | ( | LSREAL | _fSize | ) | [static] |
Set the shadow map caster size.
| _fSize | Size of the light casting the shadow in the current shadow map. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetShadowMapMatrix | ( | const CMatrix4x4 & | _mMat | ) | [static] |
Sets the shadow map matrix.
| _mMat | The matrix to set. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetShadowMapUVDepthFactors | ( | LSREAL | _fU, |
| LSREAL | _fV, | ||
| LSREAL | _fDepth | ||
| ) | [static] |
Sets the shadow map U, V, and depth scales. The U and V scales are used to map from world dimensions to the shadow map U and V dimensions, and the depth is used to convert from the light's projected depth to actual depth units.
| _fU | The U conversion factor. |
| _fV | The V conversion factor. |
| _fDepth | The depth conversion factor. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetSpecularMaterial | ( | const CVector4 & | _vColor | ) | [static] |
Sets the specular material value.
| _vColor | The specular color to set. |
| LSE_INLINE LSVOID LSE_CALL lsg::CFnd::SetTimeSinceLastRender | ( | LSFLOAT | _fVal | ) | [static] |
Sets the time since the last render in seconds.
| _fVal | The new time since the last render. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetViewMatrix | ( | const CMatrix4x4 & | _mMat | ) | [static] |
Sets the view matrix.
| _mMat | the view matrix to set. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetViewport | ( | LSINT32 | _i32X, |
| LSINT32 | _i32Y, | ||
| LSINT32 | _i32Width, | ||
| LSINT32 | _i32Height | ||
| ) | [static] |
Sets the viewport dimensions.
| _i32X | X component of the lower-left view rectangle in pixels. Defaults to 0. |
| _i32Y | Y component of the lower-left view rectangle in pixels. Defaults to 0. |
| _i32Width | Width of the viewport. |
| _i32Height | Height of the viewport. |
| LSE_INLINE LSVOID LSE_FCALL lsg::CFnd::SetWorldMatrix | ( | const CMatrix4x4 & | _mMat | ) | [static] |
Sets the world matrix.
| _mMat | the world matrix to set. |
LSUINT64 lsg::CFnd::m_ui64TrianglesDrawn [static, protected] |
The number of triangles drawn.
1.7.3