Go to the source code of this file.
◆ d3dx9_buffer_init()
Definition at line 111 of file core.c.
112{
116
119 {
120 ERR(
"Failed to allocate buffer memory\n");
122 }
123
125}
static const struct ID3DXBufferVtbl ID3DXBufferImpl_Vtbl
Referenced by D3DXCreateBuffer().
◆ D3DXCreateBuffer()
Definition at line 127 of file core.c.
128{
131
133
135 {
136 WARN(
"Invalid buffer specified.\n");
138 }
139
140 object =
calloc(1,
sizeof(*
object));
141 if (!object)
143
146 {
147 WARN(
"Failed to initialize buffer, hr %#lx.\n",
hr);
150 }
151
152 *
buffer = &
object->ID3DXBuffer_iface;
153
155
157}
#define D3DERR_INVALIDCALL
static HRESULT d3dx9_buffer_init(struct ID3DXBufferImpl *buffer, DWORD size)
Referenced by compact_mesh(), d3dx9_mesh_OptimizeInplace(), d3dx_save_pixels_to_memory(), D3DXCreateBox(), D3DXCreateCylinder(), D3DXCreatePolygon(), D3DXCreateSphere(), D3DXCreateTextureShader(), D3DXCreateTorus(), D3DXLoadMeshFromXInMemory(), D3DXLoadSkinMeshFromXof(), D3DXSaveSurfaceToFileInMemory(), generate_effects(), and test_ID3DXBuffer().
◆ ID3DXBufferImpl_AddRef()
Definition at line 56 of file core.c.
57{
60
62
64}
#define InterlockedIncrement
static struct ID3DXBufferImpl * impl_from_ID3DXBuffer(ID3DXBuffer *iface)
◆ ID3DXBufferImpl_GetBufferPointer()
Definition at line 82 of file core.c.
83{
85
86 TRACE(
"iface %p\n", iface);
87
89}
◆ ID3DXBufferImpl_GetBufferSize()
Definition at line 91 of file core.c.
92{
94
95 TRACE(
"iface %p\n", iface);
96
98}
◆ ID3DXBufferImpl_QueryInterface()
Definition at line 39 of file core.c.
40{
42
45 {
46 IUnknown_AddRef(iface);
47 *ppobj = iface;
49 }
50
52
54}
#define IsEqualGUID(rguid1, rguid2)
◆ ID3DXBufferImpl_Release()
Definition at line 66 of file core.c.
67{
70
72
74 {
77 }
78
80}
#define InterlockedDecrement
◆ impl_from_ID3DXBuffer()
◆ WINE_DEFAULT_DEBUG_CHANNEL()
| WINE_DEFAULT_DEBUG_CHANNEL |
( |
d3dx |
| ) |
|
◆ ID3DXBufferImpl_Vtbl
Initial value:=
{
}
static DWORD WINAPI ID3DXBufferImpl_GetBufferSize(ID3DXBuffer *iface)
static ULONG WINAPI ID3DXBufferImpl_AddRef(ID3DXBuffer *iface)
static ULONG WINAPI ID3DXBufferImpl_Release(ID3DXBuffer *iface)
static HRESULT WINAPI ID3DXBufferImpl_QueryInterface(ID3DXBuffer *iface, REFIID riid, void **ppobj)
static void *WINAPI ID3DXBufferImpl_GetBufferPointer(ID3DXBuffer *iface)
Definition at line 100 of file core.c.
Referenced by d3dx9_buffer_init().