#include <AWorldMesh_DX8.h>
Definition at line 4 of file AWorldMesh_DX8.h.
◆ Render()
TBOOL AWorldMeshHAL::Render |
( |
| ) |
|
|
overridevirtual |
Implements AWorldMesh.
Definition at line 19 of file AWorldMesh_DX8.cpp.
20{
23
24 TMaterial* pMaterial;
25
26 if ( !
TSTATICCAST( AWorldShaderHAL, m_pOwnerShader )->IsAlphaBlendMaterial() ||
27 pCurrentContext->GetAlphaBlend() >= 1.0f )
28 {
29 pMaterial =
TSTATICCAST( AWorldMaterialHAL, m_pMaterial );
30 }
31 else
32 {
33 pMaterial =
TSTATICCAST( AWorldMaterialHAL, m_pMaterial )->GetAlphaBlendMaterial();
34 }
35
38 pRenderPacket->SetAlpha( 1.0f );
39
41}
#define TSTATICCAST(POINTERTYPE, VALUE)
static TRenderContextD3D * Upcast(TRenderContext *a_pRenderContext)
static TFORCEINLINE TRenderD3DInterface * Interface()
Gets the render interface singleton.
TRenderPacket * AddRenderPacket(TMesh *a_pMesh)
void SetModelViewMatrix(TMatrix44 &a_rMatrix44)
◆ TDECLARE_CLASS()
The documentation for this class was generated from the following files:
- D:/_dev/OpenBarnyard/Source/OpenBarnyard/Source/Platform/DX8/AWorldShader/AWorldMesh_DX8.h
- D:/_dev/OpenBarnyard/Source/OpenBarnyard/Source/Platform/DX8/AWorldShader/AWorldMesh_DX8.cpp