Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
67840595
Commit
67840595
authored
Jul 22, 2015
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jul 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ID3DXFragmentLinker interface.
parent
0bd896f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
d3dx9shader.h
include/d3dx9shader.h
+37
-0
No files found.
include/d3dx9shader.h
View file @
67840595
...
...
@@ -305,6 +305,43 @@ DECLARE_INTERFACE(ID3DXInclude)
typedef
struct
ID3DXInclude
*
LPD3DXINCLUDE
;
typedef
struct
_D3DXFRAGMENT_DESC
{
const
char
*
Name
;
DWORD
Target
;
}
D3DXFRAGMENT_DESC
,
*
LPD3DXFRAGMENT_DESC
;
DEFINE_GUID
(
IID_ID3DXFragmentLinker
,
0x1a2c0cc2
,
0xe5b6
,
0x4ebc
,
0x9e
,
0x8d
,
0x39
,
0xe
,
0x5
,
0x78
,
0x11
,
0xb6
);
#define INTERFACE ID3DXFragmentLinker
DECLARE_INTERFACE_
(
ID3DXFragmentLinker
,
IUnknown
)
{
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
iid
,
void
**
ppv
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
STDMETHOD
(
GetDevice
)(
THIS_
struct
IDirect3DDevice9
**
device
)
PURE
;
STDMETHOD_
(
UINT
,
GetNumberOfFragments
)(
THIS
)
PURE
;
STDMETHOD_
(
D3DXHANDLE
,
GetFragmentHandleByIndex
)(
THIS_
UINT
index
)
PURE
;
STDMETHOD_
(
D3DXHANDLE
,
GetFragmentHandleByName
)(
THIS_
const
char
*
name
)
PURE
;
STDMETHOD
(
GetFragmentDesc
)(
THIS_
D3DXHANDLE
name
,
D3DXFRAGMENT_DESC
*
frag_desc
)
PURE
;
STDMETHOD
(
AddFragments
)(
THIS_
const
DWORD
*
fragments
)
PURE
;
STDMETHOD
(
GetAllFragments
)(
THIS_
ID3DXBuffer
**
buffer
)
PURE
;
STDMETHOD
(
GetFragment
)(
THIS_
D3DXHANDLE
name
,
ID3DXBuffer
**
buffer
)
PURE
;
STDMETHOD
(
LinkShader
)(
THIS_
const
char
*
profile
,
DWORD
flags
,
const
D3DXHANDLE
*
fragmenthandles
,
UINT
fragments
,
ID3DXBuffer
**
buffer
,
ID3DXBuffer
**
errors
)
PURE
;
STDMETHOD
(
LinkVertexShader
)(
THIS_
const
char
*
profile
,
DWORD
flags
,
const
D3DXHANDLE
*
fragment_handles
,
UINT
fragments
,
IDirect3DVertexShader9
**
shader
,
ID3DXBuffer
**
errors
)
PURE
;
STDMETHOD
(
LinkPixelShader
)(
THIS_
const
char
*
profile
,
DWORD
flags
,
const
D3DXHANDLE
*
fragment_handles
,
UINT
fragments
,
IDirect3DPixelShader9
**
shader
,
ID3DXBuffer
**
errors
)
PURE
;
STDMETHOD
(
ClearCache
)(
THIS
)
PURE
;
};
#undef INTERFACE
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment