#include "config.h"
#include "wine/port.h"
#include "ddraw_private.h"
Go to the source code of this file.
◆ d3d_light_AddRef()
| static ULONG WINAPI d3d_light_AddRef |
( |
IDirect3DLight * |
iface | ) |
|
|
static |
Definition at line 117 of file light.c.
118{
121
123
125}
#define InterlockedIncrement
static struct d3d_light * impl_from_IDirect3DLight(IDirect3DLight *iface)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum light
◆ d3d_light_GetLight()
Definition at line 222 of file light.c.
223{
225
226 TRACE(
"iface %p, light %p.\n", iface, lpLight);
227
231
233}
#define memcpy(s1, s2, n)
void WINAPI wined3d_mutex_unlock(void)
void WINAPI wined3d_mutex_lock(void)
◆ d3d_light_init()
◆ d3d_light_Initialize()
| static HRESULT WINAPI d3d_light_Initialize |
( |
IDirect3DLight * |
iface, |
|
|
IDirect3D * |
d3d |
|
) |
| |
|
static |
Definition at line 159 of file light.c.
160{
161 TRACE(
"iface %p, d3d %p.\n", iface, d3d);
162
164}
◆ d3d_light_QueryInterface()
◆ d3d_light_Release()
| static ULONG WINAPI d3d_light_Release |
( |
IDirect3DLight * |
iface | ) |
|
|
static |
Definition at line 127 of file light.c.
128{
131
133
135 {
137 return 0;
138 }
140}
static BOOL heap_free(void *mem)
#define InterlockedDecrement
◆ d3d_light_SetLight()
Definition at line 166 of file light.c.
167{
168 static const D3DCOLORVALUE zero_value = {{0.0f}, {0.0f}, {0.0f}, {0.0f}};
172
173 TRACE(
"iface %p, data %p.\n", iface,
data);
174
177
178
183 else
195
206
208}
#define D3DLIGHT_NO_SPECULAR
struct _D3DLIGHT2 D3DLIGHT2
void light_activate(struct d3d_light *light)
void light_deactivate(struct d3d_light *light)
static void light_update(struct d3d_light *light)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
#define DDERR_INVALIDPARAMS
D3DCOLORVALUE dcvSpecular
◆ impl_from_IDirect3DLight()
| static struct d3d_light * impl_from_IDirect3DLight |
( |
IDirect3DLight * |
iface | ) |
|
|
inlinestatic |
◆ light_activate()
◆ light_deactivate()
◆ light_update()
◆ unsafe_impl_from_IDirect3DLight()
| struct d3d_light * unsafe_impl_from_IDirect3DLight |
( |
IDirect3DLight * |
iface | ) |
|
◆ WINE_DEFAULT_DEBUG_CHANNEL()
| WINE_DEFAULT_DEBUG_CHANNEL |
( |
ddraw |
| ) |
|
◆ d3d_light_vtbl
Initial value:=
{
}
static HRESULT WINAPI d3d_light_SetLight(IDirect3DLight *iface, D3DLIGHT *data)
static ULONG WINAPI d3d_light_AddRef(IDirect3DLight *iface)
static HRESULT WINAPI d3d_light_GetLight(IDirect3DLight *iface, D3DLIGHT *lpLight)
static HRESULT WINAPI d3d_light_QueryInterface(IDirect3DLight *iface, REFIID riid, void **object)
static HRESULT WINAPI d3d_light_Initialize(IDirect3DLight *iface, IDirect3D *d3d)
static ULONG WINAPI d3d_light_Release(IDirect3DLight *iface)
Definition at line 235 of file light.c.
Referenced by d3d_light_init(), and unsafe_impl_from_IDirect3DLight().