DirectX 5 Redocumentation
A redocumentation of DirectX 5, brought to you by a bunch of Infomaniacs.
_D3DLIGHT 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
 

Detailed Description

Structure defining a light source and its properties.

Field Documentation

◆ dcvColor

D3DCOLORVALUE _D3DLIGHT::dcvColor

Color of light

◆ dltType

D3DLIGHTTYPE _D3DLIGHT::dltType

Type of light source

◆ dvAttenuation0

D3DVALUE _D3DLIGHT::dvAttenuation0

Constant attenuation

◆ dvAttenuation1

D3DVALUE _D3DLIGHT::dvAttenuation1

Linear attenuation

◆ dvAttenuation2

D3DVALUE _D3DLIGHT::dvAttenuation2

Quadratic attenuation

◆ dvDirection

D3DVECTOR _D3DLIGHT::dvDirection

Direction in world space

◆ dvFalloff

D3DVALUE _D3DLIGHT::dvFalloff

Falloff

◆ dvPhi

D3DVALUE _D3DLIGHT::dvPhi

Outer angle of spotlight cone

◆ dvPosition

D3DVECTOR _D3DLIGHT::dvPosition

Position in world space

◆ dvRange

D3DVALUE _D3DLIGHT::dvRange

Cutoff range

◆ dvTheta

D3DVALUE _D3DLIGHT::dvTheta

Inner angle of spotlight cone

◆ dwSize

DWORD _D3DLIGHT::dwSize

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