DirectX 5 Redocumentation
A redocumentation of DirectX 5, brought to you by a bunch of Infomaniacs.
_D3DLIGHT2 Struct Reference

#include <d3dtypes.h>

Data Fields

DWORD dwSize
 
D3DLIGHTTYPE dltType
 
D3DCOLORVALUE dcvColor
 
D3DVECTOR dvPosition
 
D3DVECTOR dvDirection
 
D3DVALUE dvRange
 
D3DVALUE dvFalloff
 
D3DVALUE dvAttenuation0
 
D3DVALUE dvAttenuation1
 
D3DVALUE dvAttenuation2
 
D3DVALUE dvTheta
 
D3DVALUE dvPhi
 
DWORD dwFlags
 

Field Documentation

◆ dcvColor

D3DCOLORVALUE _D3DLIGHT2::dcvColor

Color of light

◆ dltType

D3DLIGHTTYPE _D3DLIGHT2::dltType

Type of light source

◆ dvAttenuation0

D3DVALUE _D3DLIGHT2::dvAttenuation0

Constant attenuation

◆ dvAttenuation1

D3DVALUE _D3DLIGHT2::dvAttenuation1

Linear attenuation

◆ dvAttenuation2

D3DVALUE _D3DLIGHT2::dvAttenuation2

Quadratic attenuation

◆ dvDirection

D3DVECTOR _D3DLIGHT2::dvDirection

Direction in world space

◆ dvFalloff

D3DVALUE _D3DLIGHT2::dvFalloff

Falloff

◆ dvPhi

D3DVALUE _D3DLIGHT2::dvPhi

Outer angle of spotlight cone

◆ dvPosition

D3DVECTOR _D3DLIGHT2::dvPosition

Position in world space

◆ dvRange

D3DVALUE _D3DLIGHT2::dvRange

Cutoff range

◆ dvTheta

D3DVALUE _D3DLIGHT2::dvTheta

Inner angle of spotlight cone

◆ dwFlags

DWORD _D3DLIGHT2::dwFlags

◆ dwSize

DWORD _D3DLIGHT2::dwSize

The documentation for this struct was generated from the following file: