ReactOS 0.4.15-dev-8632-gbc8c7d1
|
#include <d3dx9.h>
Go to the source code of this file.
Classes | |
struct | _D3DXATTRIBUTERANGE |
struct | _D3DXMATERIAL |
struct | _D3DXEFFECTDEFAULT |
struct | _D3DXEFFECTINSTANCE |
struct | _D3DXATTRIBUTEWEIGHTS |
struct | _D3DXWELDEPSILONS |
struct | _D3DXBONECOMBINATION |
struct | _D3DXPATCHINFO |
struct | _D3DXINTERSECTINFO |
struct | _D3DXSHMATERIAL |
struct | _D3DXSHPRTSPLITMESHVERTDATA |
struct | _D3DXSHPRTSPLITMESHCLUSTERDATA |
struct | _XFILECOMPRESSEDANIMATIONSET |
Macros | |
#define | UNUSED16 (0xffff) |
#define | UNUSED32 (0xffffffff) |
#define | INTERFACE ID3DXBaseMesh |
#define | INTERFACE ID3DXMesh |
#define | INTERFACE ID3DXPMesh |
#define | INTERFACE ID3DXSPMesh |
#define | INTERFACE ID3DXPatchMesh |
#define | INTERFACE ID3DXSkinInfo |
#define | INTERFACE ID3DXPRTBuffer |
#define | INTERFACE ID3DXPRTCompBuffer |
#define | INTERFACE ID3DXTextureGutterHelper |
#define | INTERFACE ID3DXPRTEngine |
#define | D3DXLoadMeshFromX WINELIB_NAME_AW(D3DXLoadMeshFromX) |
#define | D3DXLoadPRTBufferFromFile WINELIB_NAME_AW(D3DXLoadPRTBufferFromFile) |
#define | D3DXLoadPRTCompBufferFromFile WINELIB_NAME_AW(D3DXLoadPRTCompBufferFromFile) |
#define | D3DXSaveMeshToX WINELIB_NAME_AW(D3DXSaveMeshToX) |
#define | D3DXSavePRTBufferToFile WINELIB_NAME_AW(D3DXSavePRTBufferToFile) |
#define | D3DXSavePRTCompBufferToFile WINELIB_NAME_AW(D3DXSavePRTCompBufferToFile) |
#define | XSKINEXP_TEMPLATES "xof 0303txt 0032\ template XSkinMeshHeader \ { \ <3CF169CE-FF7C-44ab-93C0-F78F62D172E2> \ WORD nMaxSkinWeightsPerVertex; \ WORD nMaxSkinWeightsPerFace; \ WORD nBones; \ } \ template VertexDuplicationIndices \ { \ <B8D65549-D7C9-4995-89CF-53A9A8B031E3> \ DWORD nIndices; \ DWORD nOriginalVertices; \ array DWORD indices[nIndices]; \ } \ template FaceAdjacency \ { \ <A64C844A-E282-4756-8B80-250CDE04398C> \ DWORD nIndices; \ array DWORD indices[nIndices]; \ } \ template SkinWeights \ { \ <6F0D123B-BAD2-4167-A0D0-80224F25FABB> \ STRING transformNodeName; \ DWORD nWeights; \ array DWORD vertexIndices[nWeights]; \ array float weights[nWeights]; \ Matrix4x4 matrixOffset; \ } \ template Patch \ { \ <A3EB5D44-FC22-429D-9AFB-3221CB9719A6> \ DWORD nControlIndices; \ array DWORD controlIndices[nControlIndices]; \ } \ template PatchMesh \ { \ <D02C95CC-EDBA-4305-9B5D-1820D7704BBF> \ DWORD nVertices; \ array Vector vertices[nVertices]; \ DWORD nPatches; \ array Patch patches[nPatches]; \ [ ... ] \ } \ template PatchMesh9 \ { \ <B9EC94E1-B9A6-4251-BA18-94893F02C0EA> \ DWORD Type; \ DWORD Degree; \ DWORD Basis; \ DWORD nVertices; \ array Vector vertices[nVertices]; \ DWORD nPatches; \ array Patch patches[nPatches]; \ [ ... ] \ } template EffectFloats \ { \ <F1CFE2B3-0DE3-4e28-AFA1-155A750A282D> \ DWORD nFloats; \ array float Floats[nFloats]; \ } \ template EffectString \ { \ <D55B097E-BDB6-4c52-B03D-6051C89D0E42> \ STRING Value; \ } \ template EffectDWord \ { \ <622C0ED0-956E-4da9-908A-2AF94F3CE716> \ DWORD Value; \ } template EffectParamFloats \ { \ <3014B9A0-62F5-478c-9B86-E4AC9F4E418B> \ STRING ParamName; \ DWORD nFloats; \ array float Floats[nFloats]; \ } template EffectParamString \ { \ <1DBC4C88-94C1-46ee-9076-2C28818C9481> \ STRING ParamName; \ STRING Value; \ } \ template EffectParamDWord \ { \ <E13963BC-AE51-4c5d-B00F-CFA3A9D97CE5> \ STRING ParamName; \ DWORD Value; \ } \ template EffectInstance \ { \ <E331F7E4-0559-4cc2-8E99-1CEC1657928F> \ STRING EffectFilename; \ [ ... ] \ } template AnimTicksPerSecond \ { \ <9E415A43-7BA6-4a73-8743-B73D47E88476> \ DWORD AnimTicksPerSecond; \ } \ template CompressedAnimationSet \ { \ <7F9B00B3-F125-4890-876E-1C42BF697C4D> \ DWORD CompressedBlockSize; \ FLOAT TicksPerSec; \ DWORD PlaybackType; \ DWORD BufferLength; \ array DWORD CompressedData[BufferLength]; \ } " |
#define | XEXTENSIONS_TEMPLATES "xof 0303txt 0032\ template FVFData \ { \ <B6E70A0E-8EF9-4e83-94AD-ECC8B0C04897> \ DWORD dwFVF; \ DWORD nDWords; \ array DWORD data[nDWords]; \ } \ template VertexElement \ { \ <F752461C-1E23-48f6-B9F8-8350850F336F> \ DWORD Type; \ DWORD Method; \ DWORD Usage; \ DWORD UsageIndex; \ } \ template DeclData \ { \ <BF22E553-292C-4781-9FEA-62BD554BDD93> \ DWORD nElements; \ array VertexElement Elements[nElements]; \ DWORD nDWords; \ array DWORD data[nDWords]; \ } \ template PMAttributeRange \ { \ <917E0427-C61E-4a14-9C64-AFE65F9E9844> \ DWORD iFaceOffset; \ DWORD nFacesMin; \ DWORD nFacesMax; \ DWORD iVertexOffset; \ DWORD nVerticesMin; \ DWORD nVerticesMax; \ } \ template PMVSplitRecord \ { \ <574CCC14-F0B3-4333-822D-93E8A8A08E4C> \ DWORD iFaceCLW; \ DWORD iVlrOffset; \ DWORD iCode; \ } \ template PMInfo \ { \ <B6C3E656-EC8B-4b92-9B62-681659522947> \ DWORD nAttributes; \ array PMAttributeRange attributeRanges[nAttributes]; \ DWORD nMaxValence; \ DWORD nMinLogicalVertices; \ DWORD nMaxLogicalVertices; \ DWORD nVSplits; \ array PMVSplitRecord splitRecords[nVSplits]; \ DWORD nAttributeMispredicts; \ array DWORD attributeMispredicts[nAttributeMispredicts]; \ } " |
Functions | |
DEFINE_GUID (IID_ID3DXBaseMesh, 0x7ed943dd, 0x52e8, 0x40b5, 0xa8, 0xd8, 0x76, 0x68, 0x5c, 0x40, 0x63, 0x30) | |
DEFINE_GUID (IID_ID3DXMesh, 0x4020e5c2, 0x1403, 0x4929, 0x88, 0x3f, 0xe2, 0xe8, 0x49, 0xfa, 0xc1, 0x95) | |
DEFINE_GUID (IID_ID3DXPMesh, 0x8875769a, 0xd579, 0x4088, 0xaa, 0xeb, 0x53, 0x4d, 0x1a, 0xd8, 0x4e, 0x96) | |
DEFINE_GUID (IID_ID3DXSPMesh, 0x667ea4c7, 0xf1cd, 0x4386, 0xb5, 0x23, 0x7c, 0x02, 0x90, 0xb8, 0x3c, 0xc5) | |
DEFINE_GUID (IID_ID3DXSkinInfo, 0x11eaa540, 0xf9a6, 0x4d49, 0xae, 0x6a, 0xe1, 0x92, 0x21, 0xf7, 0x0c, 0xc4) | |
DEFINE_GUID (IID_ID3DXPatchMesh, 0x3ce6cc22, 0xdbf2, 0x44f4, 0x89, 0x4d, 0xf9, 0xc3, 0x4a, 0x33, 0x71, 0x39) | |
DEFINE_GUID (IID_ID3DXPRTBuffer, 0xf1827e47, 0x00a8, 0x49cd, 0x90, 0x8c, 0x9d, 0x11, 0x95, 0x5f, 0x87, 0x28) | |
DEFINE_GUID (IID_ID3DXPRTCompBuffer, 0xa758d465, 0xfe8d, 0x45ad, 0x9c, 0xf0, 0xd0, 0x1e, 0x56, 0x26, 0x6a, 0x07) | |
DEFINE_GUID (IID_ID3DXTextureGutterHelper, 0x838f01ec, 0x9729, 0x4527, 0xaa, 0xdb, 0xdf, 0x70, 0xad, 0xe7, 0xfe, 0xa9) | |
DEFINE_GUID (IID_ID3DXPRTEngine, 0x683a4278, 0xcd5f, 0x4d24, 0x90, 0xad, 0xc4, 0xe1, 0xb6, 0x85, 0x5d, 0x53) | |
DECLARE_INTERFACE_ (ID3DXBaseMesh, IUnknown) | |
DECLARE_INTERFACE_ (ID3DXMesh, ID3DXBaseMesh) | |
DECLARE_INTERFACE_ (ID3DXPMesh, ID3DXBaseMesh) | |
DECLARE_INTERFACE_ (ID3DXSPMesh, IUnknown) | |
DECLARE_INTERFACE_ (ID3DXPatchMesh, IUnknown) | |
DECLARE_INTERFACE_ (ID3DXSkinInfo, IUnknown) | |
DECLARE_INTERFACE_ (ID3DXPRTBuffer, IUnknown) | |
DECLARE_INTERFACE_ (ID3DXPRTCompBuffer, IUnknown) | |
DECLARE_INTERFACE_ (ID3DXTextureGutterHelper, IUnknown) | |
DECLARE_INTERFACE_ (ID3DXPRTEngine, IUnknown) | |
HRESULT WINAPI | D3DXCreateMesh (DWORD face_count, DWORD vertex_count, DWORD flags, const D3DVERTEXELEMENT9 *declaration, struct IDirect3DDevice9 *device, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXCreateMeshFVF (DWORD face_count, DWORD vertex_count, DWORD flags, DWORD fvf, struct IDirect3DDevice9 *device, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXCreateBuffer (DWORD size, ID3DXBuffer **buffer) |
HRESULT WINAPI | D3DXCreateSPMesh (ID3DXMesh *mesh, const DWORD *adjacency, const D3DXATTRIBUTEWEIGHTS *attribute_weights, const float *vertex_weights, ID3DXSPMesh **spmesh) |
HRESULT WINAPI | D3DXCreatePMeshFromStream (struct IStream *stream, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXPMesh **mesh) |
HRESULT WINAPI | D3DXCreateSkinInfo (DWORD vertex_count, const D3DVERTEXELEMENT9 *declaration, DWORD bone_count, ID3DXSkinInfo **skin_info) |
HRESULT WINAPI | D3DXCreateSkinInfoFVF (DWORD vertex_count, DWORD fvf, DWORD bone_count, ID3DXSkinInfo **skin_info) |
HRESULT WINAPI | D3DXCreateSkinInfoFromBlendedMesh (ID3DXBaseMesh *mesh, DWORD bone_count, const D3DXBONECOMBINATION *bone_combination_table, ID3DXSkinInfo **skin_info) |
HRESULT WINAPI | D3DXCreatePatchMesh (const D3DXPATCHINFO *patch_info, DWORD patch_count, DWORD vertex_count, DWORD flags, const D3DVERTEXELEMENT9 *declaration, struct IDirect3DDevice9 *device, struct ID3DXPatchMesh **mesh) |
HRESULT WINAPI | D3DXCreatePRTBuffer (UINT sample_count, UINT coeff_count, UINT channel_count, ID3DXPRTBuffer **buffer) |
HRESULT WINAPI | D3DXCreatePRTBufferTex (UINT width, UINT height, UINT coeff_count, UINT channel_count, ID3DXPRTBuffer **buffer) |
HRESULT WINAPI | D3DXCreatePRTCompBuffer (D3DXSHCOMPRESSQUALITYTYPE quality, UINT cluster_count, UINT pca_count, LPD3DXSHPRTSIMCB cb, void *ctx, ID3DXPRTBuffer *input, ID3DXPRTCompBuffer **buffer) |
HRESULT WINAPI | D3DXCreateTextureGutterHelper (UINT width, UINT height, ID3DXMesh *mesh, float gutter_size, ID3DXTextureGutterHelper **gh) |
HRESULT WINAPI | D3DXCreatePRTEngine (ID3DXMesh *mesh, DWORD *adjacency, BOOL extract_uv, ID3DXMesh *blocker_mesh, ID3DXPRTEngine **engine) |
HRESULT WINAPI | D3DXLoadMeshFromXA (const char *filename, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXLoadMeshFromXW (const WCHAR *filename, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXLoadMeshFromXInMemory (const void *data, DWORD data_size, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXLoadMeshFromXResource (HMODULE module, const char *resource, const char *resource_type, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXLoadMeshFromXof (struct ID3DXFileData *file_data, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXLoadPatchMeshFromXof (struct ID3DXFileData *file_data, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXPatchMesh **mesh) |
HRESULT WINAPI | D3DXLoadSkinMeshFromXof (struct ID3DXFileData *file_data, DWORD flags, struct IDirect3DDevice9 *device, struct ID3DXBuffer **adjacency, struct ID3DXBuffer **materials, struct ID3DXBuffer **effect_instances, DWORD *material_count, struct ID3DXSkinInfo **skin_info, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXLoadPRTBufferFromFileA (const char *filename, ID3DXPRTBuffer **buffer) |
HRESULT WINAPI | D3DXLoadPRTBufferFromFileW (const WCHAR *filename, ID3DXPRTBuffer **buffer) |
HRESULT WINAPI | D3DXLoadPRTCompBufferFromFileA (const char *filename, ID3DXPRTCompBuffer **buffer) |
HRESULT WINAPI | D3DXLoadPRTCompBufferFromFileW (const WCHAR *filename, ID3DXPRTCompBuffer **buffer) |
HRESULT WINAPI | D3DXSaveMeshToXA (const char *filename, ID3DXMesh *mesh, const DWORD *adjacency, const D3DXMATERIAL *materials, const D3DXEFFECTINSTANCE *effect_instances, DWORD material_count, DWORD format) |
HRESULT WINAPI | D3DXSaveMeshToXW (const WCHAR *filename, ID3DXMesh *mesh, const DWORD *adjacency, const D3DXMATERIAL *materials, const D3DXEFFECTINSTANCE *effect_instances, DWORD material_count, DWORD format) |
HRESULT WINAPI | D3DXSavePRTBufferToFileA (const char *filename, ID3DXPRTBuffer *buffer) |
HRESULT WINAPI | D3DXSavePRTBufferToFileW (const WCHAR *filename, ID3DXPRTBuffer *buffer) |
HRESULT WINAPI | D3DXSavePRTCompBufferToFileA (const char *filename, ID3DXPRTCompBuffer *buffer) |
HRESULT WINAPI | D3DXSavePRTCompBufferToFileW (const WCHAR *filename, ID3DXPRTCompBuffer *buffer) |
UINT WINAPI | D3DXGetDeclLength (const D3DVERTEXELEMENT9 *decl) |
UINT WINAPI | D3DXGetDeclVertexSize (const D3DVERTEXELEMENT9 *decl, DWORD stream_idx) |
UINT WINAPI | D3DXGetFVFVertexSize (DWORD) |
BOOL WINAPI | D3DXBoxBoundProbe (const D3DXVECTOR3 *vmin, const D3DXVECTOR3 *vmax, const D3DXVECTOR3 *ray_pos, const D3DXVECTOR3 *ray_dir) |
BOOL WINAPI | D3DXSphereBoundProbe (const D3DXVECTOR3 *center, FLOAT radius, const D3DXVECTOR3 *ray_pos, const D3DXVECTOR3 *ray_dir) |
HRESULT WINAPI | D3DXCleanMesh (D3DXCLEANTYPE clean_type, ID3DXMesh *mesh_in, const DWORD *adjacency_in, ID3DXMesh **mesh_out, DWORD *adjacency_out, ID3DXBuffer **errors) |
HRESULT WINAPI | D3DXConcatenateMeshes (struct ID3DXMesh **meshes, UINT mesh_count, DWORD flags, const D3DXMATRIX *geometry_matrices, const D3DXMATRIX *texture_matrices, const D3DVERTEXELEMENT9 *declaration, struct IDirect3DDevice9 *device, struct ID3DXMesh **mesh) |
HRESULT WINAPI | D3DXComputeBoundingBox (const D3DXVECTOR3 *first_pos, DWORD num_vertices, DWORD stride, D3DXVECTOR3 *vmin, D3DXVECTOR3 *vmax) |
HRESULT WINAPI | D3DXComputeBoundingSphere (const D3DXVECTOR3 *first_pos, DWORD num_vertices, DWORD stride, D3DXVECTOR3 *center, FLOAT *radius) |
HRESULT WINAPI | D3DXComputeIMTFromPerTexelSignal (ID3DXMesh *mesh, DWORD texture_idx, float *texel_signal, UINT width, UINT height, UINT signal_dimension, UINT component_count, DWORD flags, LPD3DXUVATLASCB cb, void *ctx, ID3DXBuffer **buffer) |
HRESULT WINAPI | D3DXComputeIMTFromPerVertexSignal (ID3DXMesh *mesh, const float *vertex_signal, UINT signal_dimension, UINT signal_stride, DWORD flags, LPD3DXUVATLASCB cb, void *ctx, ID3DXBuffer **buffer) |
HRESULT WINAPI | D3DXComputeIMTFromSignal (ID3DXMesh *mesh, DWORD texture_idx, UINT signal_dimension, float max_uv_distance, DWORD flags, LPD3DXIMTSIGNALCALLBACK signal_cb, void *signal_ctx, LPD3DXUVATLASCB status_cb, void *status_ctx, ID3DXBuffer **buffer) |
HRESULT WINAPI | D3DXComputeIMTFromTexture (struct ID3DXMesh *mesh, struct IDirect3DTexture9 *texture, DWORD texture_idx, DWORD options, LPD3DXUVATLASCB cb, void *ctx, struct ID3DXBuffer **out) |
HRESULT WINAPI | D3DXComputeNormals (ID3DXBaseMesh *mesh, const DWORD *adjacency) |
HRESULT WINAPI | D3DXComputeTangentFrameEx (ID3DXMesh *mesh_in, DWORD texture_in_semantic, DWORD texture_in_idx, DWORD u_partial_out_semantic, DWORD u_partial_out_idx, DWORD v_partial_out_semantic, DWORD v_partial_out_idx, DWORD normal_out_semantic, DWORD normal_out_idx, DWORD flags, const DWORD *adjacency, float partial_edge_threshold, float singular_point_threshold, float normal_edge_threshold, ID3DXMesh **mesh_out, ID3DXBuffer **buffer) |
HRESULT WINAPI | D3DXComputeTangent (ID3DXMesh *mesh, DWORD stage, DWORD tangent_idx, DWORD binorm_idx, DWORD wrap, const DWORD *adjacency) |
HRESULT WINAPI | D3DXConvertMeshSubsetToSingleStrip (struct ID3DXBaseMesh *mesh_in, DWORD attribute_id, DWORD ib_flags, struct IDirect3DIndexBuffer9 **index_buffer, DWORD *index_count) |
HRESULT WINAPI | D3DXConvertMeshSubsetToStrips (struct ID3DXBaseMesh *mesh_in, DWORD attribute_id, DWORD ib_flags, struct IDirect3DIndexBuffer9 **index_buffer, DWORD *index_count, struct ID3DXBuffer **strip_lengths, DWORD *strip_count) |
HRESULT WINAPI | D3DXDeclaratorFromFVF (DWORD, D3DVERTEXELEMENT9[MAX_FVF_DECL_SIZE]) |
HRESULT WINAPI | D3DXFVFFromDeclarator (const D3DVERTEXELEMENT9 *decl, DWORD *fvf) |
HRESULT WINAPI | D3DXGenerateOutputDecl (D3DVERTEXELEMENT9 *decl_out, const D3DVERTEXELEMENT9 *decl_in) |
HRESULT WINAPI | D3DXGeneratePMesh (ID3DXMesh *mesh, const DWORD *adjacency, const D3DXATTRIBUTEWEIGHTS *attribute_weights, const float *vertex_weights, DWORD min_value, DWORD flags, ID3DXPMesh **pmesh) |
HRESULT WINAPI | D3DXIntersect (ID3DXBaseMesh *mesh, const D3DXVECTOR3 *ray_position, const D3DXVECTOR3 *ray_direction, BOOL *hit, DWORD *face_idx, float *u, float *v, float *distance, ID3DXBuffer **hits, DWORD *hit_count) |
HRESULT WINAPI | D3DXIntersectSubset (ID3DXBaseMesh *mesh, DWORD attribute_id, const D3DXVECTOR3 *ray_position, const D3DXVECTOR3 *ray_direction, BOOL *hit, DWORD *face_idx, float *u, float *v, float *distance, ID3DXBuffer **hits, DWORD *hit_count) |
BOOL WINAPI | D3DXIntersectTri (const D3DXVECTOR3 *vtx0, const D3DXVECTOR3 *vtx1, const D3DXVECTOR3 *vtx2, const D3DXVECTOR3 *ray_pos, const D3DXVECTOR3 *ray_dir, FLOAT *u, FLOAT *v, FLOAT *dist) |
HRESULT WINAPI | D3DXOptimizeFaces (const void *indices, UINT face_count, UINT vertex_count, BOOL idx_32bit, DWORD *face_remap) |
HRESULT WINAPI | D3DXOptimizeVertices (const void *indices, UINT face_count, UINT vertex_count, BOOL idx_32bit, DWORD *vertex_remap) |
HRESULT WINAPI | D3DXRectPatchSize (const FLOAT *segment_count, DWORD *num_triangles, DWORD *num_vertices) |
HRESULT WINAPI | D3DXSHPRTCompSuperCluster (UINT *cluster_ids, ID3DXMesh *scene, UINT max_cluster_count, UINT cluster_count, UINT *scluster_ids, UINT *scluster_count) |
HRESULT WINAPI | D3DXSHPRTCompSplitMeshSC (UINT *cluster_idx, UINT vertex_count, UINT cluster_count, UINT *scluster_ids, UINT scluster_count, void *index_buffer_in, BOOL ib_in_32bit, UINT face_count, ID3DXBuffer **index_buffer_out, UINT *index_buffer_size, BOOL ib_out_32bit, ID3DXBuffer **face_remap, ID3DXBuffer **vertex_data, UINT *vertex_data_length, UINT *sc_cluster_list, D3DXSHPRTSPLITMESHCLUSTERDATA *sc_data) |
HRESULT WINAPI | D3DXSimplifyMesh (ID3DXMesh *mesh_in, const DWORD *adjacency, const D3DXATTRIBUTEWEIGHTS *attribute_weights, const float *vertex_weights, DWORD min_value, DWORD flags, ID3DXMesh **mesh_out) |
HRESULT WINAPI | D3DXSplitMesh (ID3DXMesh *mesh_in, const DWORD *adjacency_in, const DWORD max_size, const DWORD flags, DWORD *mesh_out_count, ID3DXBuffer **mesh_out, ID3DXBuffer **adjacency_out, ID3DXBuffer **face_remap_out, ID3DXBuffer **vertex_remap_out) |
HRESULT WINAPI | D3DXTessellateNPatches (ID3DXMesh *mesh_in, const DWORD *adjacency_in, float segment_count, BOOL quad_interp, ID3DXMesh **mesh_out, ID3DXBuffer **adjacency_out) |
HRESULT WINAPI | D3DXTessellateRectPatch (struct IDirect3DVertexBuffer9 *buffer, const float *segment_count, const D3DVERTEXELEMENT9 *declaration, const D3DRECTPATCH_INFO *patch_info, struct ID3DXMesh *mesh) |
HRESULT WINAPI | D3DXTessellateTriPatch (struct IDirect3DVertexBuffer9 *buffer, const float *segment_count, const D3DVERTEXELEMENT9 *declaration, const D3DTRIPATCH_INFO *patch_info, struct ID3DXMesh *mesh) |
HRESULT WINAPI | D3DXTriPatchSize (const FLOAT *segment_count, DWORD *num_triangles, DWORD *num_vertices) |
HRESULT WINAPI | D3DXUVAtlasCreate (ID3DXMesh *mesh_in, UINT max_chart_count, float max_stretch_in, UINT width, UINT height, float gutter, DWORD texture_idx, const DWORD *adjacency, const DWORD *false_edges, const float *imt_array, LPD3DXUVATLASCB cb, float cb_freq, void *ctx, DWORD flags, ID3DXMesh **mesh_out, ID3DXBuffer **face_partitioning_out, ID3DXBuffer **vertex_remap_out, float *max_stretch_out, UINT *chart_count) |
HRESULT WINAPI | D3DXUVAtlasPack (ID3DXMesh *mesh, UINT width, UINT height, float gutter, DWORD texture_idx, const DWORD *partition_result_adjacency, LPD3DXUVATLASCB cb, float cb_freq, void *ctx, DWORD flags, ID3DXBuffer *face_partitioning) |
HRESULT WINAPI | D3DXUVAtlasPartition (ID3DXMesh *mesh_in, UINT max_chart_count, float max_stretch_in, DWORD texture_idx, const DWORD *adjacency, const DWORD *false_edges, const float *imt_array, LPD3DXUVATLASCB cb, float cb_freq, void *ctx, DWORD flags, ID3DXMesh **mesh_out, ID3DXBuffer **face_partitioning_out, ID3DXBuffer **vertex_remap_out, ID3DXBuffer **adjacency_out, float *max_stretch_out, UINT *chart_count) |
HRESULT WINAPI | D3DXValidMesh (ID3DXMesh *mesh, const DWORD *adjacency, ID3DXBuffer **errors) |
HRESULT WINAPI | D3DXValidPatchMesh (ID3DXPatchMesh *mesh, DWORD *degenerate_vertex_count, DWORD *degenerate_patch_count, ID3DXBuffer **errors) |
HRESULT WINAPI | D3DXWeldVertices (ID3DXMesh *mesh, DWORD flags, const D3DXWELDEPSILONS *epsilons, const DWORD *adjacency_in, DWORD *adjacency_out, DWORD *face_remap_out, ID3DXBuffer **vertex_remap_out) |
DEFINE_GUID (DXFILEOBJ_XSkinMeshHeader, 0x3cf169ce, 0xff7c, 0x44ab, 0x93, 0xc0, 0xf7, 0x8f, 0x62, 0xd1, 0x72, 0xe2) | |
DEFINE_GUID (DXFILEOBJ_VertexDuplicationIndices, 0xb8d65549, 0xd7c9, 0x4995, 0x89, 0xcf, 0x53, 0xa9, 0xa8, 0xb0, 0x31, 0xe3) | |
DEFINE_GUID (DXFILEOBJ_FaceAdjacency, 0xa64c844a, 0xe282, 0x4756, 0x8b, 0x80, 0x25, 0x0c, 0xde, 0x04, 0x39, 0x8c) | |
DEFINE_GUID (DXFILEOBJ_SkinWeights, 0x6f0d123b, 0xbad2, 0x4167, 0xa0, 0xd0, 0x80, 0x22, 0x4f, 0x25, 0xfa, 0xbb) | |
DEFINE_GUID (DXFILEOBJ_Patch, 0xa3eb5d44, 0xfc22, 0x429d, 0x9a, 0xfb, 0x32, 0x21, 0xcb, 0x97, 0x19, 0xa6) | |
DEFINE_GUID (DXFILEOBJ_PatchMesh, 0xd02c95cc, 0xedba, 0x4305, 0x9b, 0x5d, 0x18, 0x20, 0xd7, 0x70, 0x4d, 0xbf) | |
DEFINE_GUID (DXFILEOBJ_PatchMesh9, 0xb9ec94e1, 0xb9a6, 0x4251, 0xba, 0x18, 0x94, 0x89, 0x3f, 0x02, 0xc0, 0xea) | |
DEFINE_GUID (DXFILEOBJ_PMInfo, 0xb6c3e656, 0xec8b, 0x4b92, 0x9b, 0x62, 0x68, 0x16, 0x59, 0x52, 0x29, 0x47) | |
DEFINE_GUID (DXFILEOBJ_PMAttributeRange, 0x917e0427, 0xc61e, 0x4a14, 0x9c, 0x64, 0xaf, 0xe6, 0x5f, 0x9e, 0x98, 0x44) | |
DEFINE_GUID (DXFILEOBJ_PMVSplitRecord, 0x574ccc14, 0xf0b3, 0x4333, 0x82, 0x2d, 0x93, 0xe8, 0xa8, 0xa0, 0x8e, 0x4c) | |
DEFINE_GUID (DXFILEOBJ_FVFData, 0xb6e70a0e, 0x8ef9, 0x4e83, 0x94, 0xad, 0xec, 0xc8, 0xb0, 0xc0, 0x48, 0x97) | |
DEFINE_GUID (DXFILEOBJ_VertexElement, 0xf752461c, 0x1e23, 0x48f6, 0xb9, 0xf8, 0x83, 0x50, 0x85, 0x0f, 0x33, 0x6f) | |
DEFINE_GUID (DXFILEOBJ_DeclData, 0xbf22e553, 0x292c, 0x4781, 0x9f, 0xea, 0x62, 0xbd, 0x55, 0x4b, 0xdd, 0x93) | |
DEFINE_GUID (DXFILEOBJ_EffectFloats, 0xf1cfe2b3, 0x0de3, 0x4e28, 0xaf, 0xa1, 0x15, 0x5a, 0x75, 0x0a, 0x28, 0x2d) | |
DEFINE_GUID (DXFILEOBJ_EffectString, 0xd55b097e, 0xbdb6, 0x4c52, 0xb0, 0x3d, 0x60, 0x51, 0xc8, 0x9d, 0x0e, 0x42) | |
DEFINE_GUID (DXFILEOBJ_EffectDWord, 0x622c0ed0, 0x956e, 0x4da9, 0x90, 0x8a, 0x2a, 0xf9, 0x4f, 0x3c, 0xe7, 0x16) | |
DEFINE_GUID (DXFILEOBJ_EffectParamFloats, 0x3014b9a0, 0x62f5, 0x478c, 0x9b, 0x86, 0xe4, 0xac, 0x9f, 0x4e, 0x41, 0x8b) | |
DEFINE_GUID (DXFILEOBJ_EffectParamString, 0x1dbc4c88, 0x94c1, 0x46ee, 0x90, 0x76, 0x2c, 0x28, 0x81, 0x8c, 0x94, 0x81) | |
DEFINE_GUID (DXFILEOBJ_EffectParamDWord, 0xe13963bc, 0xae51, 0x4c5d, 0xb0, 0x0f, 0xcf, 0xa3, 0xa9, 0xd9, 0x7c, 0xe5) | |
DEFINE_GUID (DXFILEOBJ_EffectInstance, 0xe331f7e4, 0x0559, 0x4cc2, 0x8e, 0x99, 0x1c, 0xec, 0x16, 0x57, 0x92, 0x8f) | |
DEFINE_GUID (DXFILEOBJ_AnimTicksPerSecond, 0x9e415a43, 0x7ba6, 0x4a73, 0x87, 0x43, 0xb7, 0x3d, 0x47, 0xe8, 0x84, 0x76) | |
DEFINE_GUID (DXFILEOBJ_CompressedAnimationSet, 0x7f9b00b3, 0xf125, 0x4890, 0x87, 0x6e, 0x1c, 0x42, 0xbf, 0x69, 0x7c, 0x4d) | |
#define D3DXLoadMeshFromX WINELIB_NAME_AW(D3DXLoadMeshFromX) |
Definition at line 733 of file d3dx9mesh.h.
#define D3DXLoadPRTBufferFromFile WINELIB_NAME_AW(D3DXLoadPRTBufferFromFile) |
Definition at line 752 of file d3dx9mesh.h.
#define D3DXLoadPRTCompBufferFromFile WINELIB_NAME_AW(D3DXLoadPRTCompBufferFromFile) |
Definition at line 755 of file d3dx9mesh.h.
#define D3DXSaveMeshToX WINELIB_NAME_AW(D3DXSaveMeshToX) |
Definition at line 760 of file d3dx9mesh.h.
#define D3DXSavePRTBufferToFile WINELIB_NAME_AW(D3DXSavePRTBufferToFile) |
Definition at line 763 of file d3dx9mesh.h.
#define D3DXSavePRTCompBufferToFile WINELIB_NAME_AW(D3DXSavePRTCompBufferToFile) |
Definition at line 766 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
Definition at line 635 of file d3dx9mesh.h.
#define UNUSED16 (0xffff) |
Definition at line 36 of file d3dx9mesh.h.
#define UNUSED32 (0xffffffff) |
Definition at line 37 of file d3dx9mesh.h.
#define XEXTENSIONS_TEMPLATES "xof 0303txt 0032\ template FVFData \ { \ <B6E70A0E-8EF9-4e83-94AD-ECC8B0C04897> \ DWORD dwFVF; \ DWORD nDWords; \ array DWORD data[nDWords]; \ } \ template VertexElement \ { \ <F752461C-1E23-48f6-B9F8-8350850F336F> \ DWORD Type; \ DWORD Method; \ DWORD Usage; \ DWORD UsageIndex; \ } \ template DeclData \ { \ <BF22E553-292C-4781-9FEA-62BD554BDD93> \ DWORD nElements; \ array VertexElement Elements[nElements]; \ DWORD nDWords; \ array DWORD data[nDWords]; \ } \ template PMAttributeRange \ { \ <917E0427-C61E-4a14-9C64-AFE65F9E9844> \ DWORD iFaceOffset; \ DWORD nFacesMin; \ DWORD nFacesMax; \ DWORD iVertexOffset; \ DWORD nVerticesMin; \ DWORD nVerticesMax; \ } \ template PMVSplitRecord \ { \ <574CCC14-F0B3-4333-822D-93E8A8A08E4C> \ DWORD iFaceCLW; \ DWORD iVlrOffset; \ DWORD iCode; \ } \ template PMInfo \ { \ <B6C3E656-EC8B-4b92-9B62-681659522947> \ DWORD nAttributes; \ array PMAttributeRange attributeRanges[nAttributes]; \ DWORD nMaxValence; \ DWORD nMinLogicalVertices; \ DWORD nMaxLogicalVertices; \ DWORD nVSplits; \ array PMVSplitRecord splitRecords[nVSplits]; \ DWORD nAttributeMispredicts; \ array DWORD attributeMispredicts[nAttributeMispredicts]; \ } " |
Definition at line 1002 of file d3dx9mesh.h.
#define XSKINEXP_TEMPLATES "xof 0303txt 0032\ template XSkinMeshHeader \ { \ <3CF169CE-FF7C-44ab-93C0-F78F62D172E2> \ WORD nMaxSkinWeightsPerVertex; \ WORD nMaxSkinWeightsPerFace; \ WORD nBones; \ } \ template VertexDuplicationIndices \ { \ <B8D65549-D7C9-4995-89CF-53A9A8B031E3> \ DWORD nIndices; \ DWORD nOriginalVertices; \ array DWORD indices[nIndices]; \ } \ template FaceAdjacency \ { \ <A64C844A-E282-4756-8B80-250CDE04398C> \ DWORD nIndices; \ array DWORD indices[nIndices]; \ } \ template SkinWeights \ { \ <6F0D123B-BAD2-4167-A0D0-80224F25FABB> \ STRING transformNodeName; \ DWORD nWeights; \ array DWORD vertexIndices[nWeights]; \ array float weights[nWeights]; \ Matrix4x4 matrixOffset; \ } \ template Patch \ { \ <A3EB5D44-FC22-429D-9AFB-3221CB9719A6> \ DWORD nControlIndices; \ array DWORD controlIndices[nControlIndices]; \ } \ template PatchMesh \ { \ <D02C95CC-EDBA-4305-9B5D-1820D7704BBF> \ DWORD nVertices; \ array Vector vertices[nVertices]; \ DWORD nPatches; \ array Patch patches[nPatches]; \ [ ... ] \ } \ template PatchMesh9 \ { \ <B9EC94E1-B9A6-4251-BA18-94893F02C0EA> \ DWORD Type; \ DWORD Degree; \ DWORD Basis; \ DWORD nVertices; \ array Vector vertices[nVertices]; \ DWORD nPatches; \ array Patch patches[nPatches]; \ [ ... ] \ } template EffectFloats \ { \ <F1CFE2B3-0DE3-4e28-AFA1-155A750A282D> \ DWORD nFloats; \ array float Floats[nFloats]; \ } \ template EffectString \ { \ <D55B097E-BDB6-4c52-B03D-6051C89D0E42> \ STRING Value; \ } \ template EffectDWord \ { \ <622C0ED0-956E-4da9-908A-2AF94F3CE716> \ DWORD Value; \ } template EffectParamFloats \ { \ <3014B9A0-62F5-478c-9B86-E4AC9F4E418B> \ STRING ParamName; \ DWORD nFloats; \ array float Floats[nFloats]; \ } template EffectParamString \ { \ <1DBC4C88-94C1-46ee-9076-2C28818C9481> \ STRING ParamName; \ STRING Value; \ } \ template EffectParamDWord \ { \ <E13963BC-AE51-4c5d-B00F-CFA3A9D97CE5> \ STRING ParamName; \ DWORD Value; \ } \ template EffectInstance \ { \ <E331F7E4-0559-4cc2-8E99-1CEC1657928F> \ STRING EffectFilename; \ [ ... ] \ } template AnimTicksPerSecond \ { \ <9E415A43-7BA6-4a73-8743-B73D47E88476> \ DWORD AnimTicksPerSecond; \ } \ template CompressedAnimationSet \ { \ <7F9B00B3-F125-4890-876E-1C42BF697C4D> \ DWORD CompressedBlockSize; \ FLOAT TicksPerSec; \ DWORD PlaybackType; \ DWORD BufferLength; \ array DWORD CompressedData[BufferLength]; \ } " |
Definition at line 892 of file d3dx9mesh.h.
typedef enum D3DXCLEANTYPE D3DXCLEANTYPE |
typedef struct _D3DXMATERIAL D3DXMATERIAL |
typedef struct _D3DXPATCHINFO D3DXPATCHINFO |
typedef enum _D3DXPATCHMESHTYPE D3DXPATCHMESHTYPE |
typedef enum _D3DXSHGPUSIMOPT D3DXSHGPUSIMOPT |
typedef struct _D3DXSHMATERIAL D3DXSHMATERIAL |
typedef enum _D3DXTANGENT D3DXTANGENT |
typedef enum _D3DXUVATLAS D3DXUVATLAS |
typedef struct _D3DXWELDEPSILONS D3DXWELDEPSILONS |
typedef D3DXATTRIBUTERANGE* LPD3DXATTRIBUTERANGE |
Definition at line 191 of file d3dx9mesh.h.
typedef struct ID3DXBaseMesh* LPD3DXBASEMESH |
Definition at line 172 of file d3dx9mesh.h.
typedef struct _D3DXBONECOMBINATION * LPD3DXBONECOMBINATION |
typedef struct _D3DXEFFECTDEFAULT * LPD3DXEFFECTDEFAULT |
typedef struct _D3DXEFFECTINSTANCE * LPD3DXEFFECTINSTANCE |
typedef HRESULT(WINAPI * LPD3DXIMTSIGNALCALLBACK) (const D3DXVECTOR2 *, UINT, UINT, void *, FLOAT *) |
Definition at line 301 of file d3dx9mesh.h.
typedef struct _D3DXINTERSECTINFO * LPD3DXINTERSECTINFO |
typedef struct _D3DXMATERIAL * LPD3DXMATERIAL |
typedef struct ID3DXMesh* LPD3DXMESH |
Definition at line 173 of file d3dx9mesh.h.
typedef struct _D3DXPATCHINFO * LPD3DXPATCHINFO |
typedef struct ID3DXPatchMesh* LPD3DXPATCHMESH |
Definition at line 177 of file d3dx9mesh.h.
typedef struct ID3DXPMesh* LPD3DXPMESH |
Definition at line 174 of file d3dx9mesh.h.
typedef struct ID3DXPRTBuffer* LPD3DXPRTBUFFER |
Definition at line 178 of file d3dx9mesh.h.
typedef struct ID3DXPRTCompBuffer* LPD3DXPRTCOMPBUFFER |
Definition at line 179 of file d3dx9mesh.h.
typedef struct ID3DXPRTEngine* LPD3DXPRTENGINE |
Definition at line 180 of file d3dx9mesh.h.
Definition at line 302 of file d3dx9mesh.h.
typedef struct ID3DXSkinInfo* LPD3DXSKININFO |
Definition at line 176 of file d3dx9mesh.h.
typedef struct ID3DXSPMesh* LPD3DXSPMESH |
Definition at line 175 of file d3dx9mesh.h.
typedef struct ID3DXTextureGutterHelper* LPD3DXTEXTUREGUTTERHELPER |
Definition at line 181 of file d3dx9mesh.h.
Definition at line 300 of file d3dx9mesh.h.
typedef struct _D3DXWELDEPSILONS * LPD3DXWELDEPSILONS |
Enumerator | |
---|---|
D3DXEDT_STRING | |
D3DXEDT_FLOATS | |
D3DXEDT_DWORD | |
D3DXEDT_FORCEDWORD |
Definition at line 139 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXIMT_WRAP_U | |
D3DXIMT_WRAP_V | |
D3DXIMT_WRAP_UV |
Definition at line 125 of file d3dx9mesh.h.
Definition at line 44 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXMESHOPT_DEVICEINDEPENDENT | |
D3DXMESHOPT_COMPACT | |
D3DXMESHOPT_ATTRSORT | |
D3DXMESHOPT_VERTEXCACHE | |
D3DXMESHOPT_STRIPREORDER | |
D3DXMESHOPT_IGNOREVERTS | |
D3DXMESHOPT_DONOTSPLIT |
Definition at line 70 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXMESHSIMP_VERTEX | |
D3DXMESHSIMP_FACE |
Definition at line 94 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXPATCHMESH_DEFAULT |
Definition at line 89 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXPATCHMESH_RECT | |
D3DXPATCHMESH_TRI | |
D3DXPATCHMESH_NPATCH | |
D3DXPATCHMESH_FORCE_DWORD |
Definition at line 81 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXSHCQUAL_FASTLOWQUALITY | |
D3DXSHCQUAL_SLOWHIGHQUALITY | |
D3DXSHCQUAL_FORCE_DWORD |
Definition at line 155 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXSHGPUSIMOPT_SHADOWRES256 | |
D3DXSHGPUSIMOPT_SHADOWRES512 | |
D3DXSHGPUSIMOPT_SHADOWRES1024 | |
D3DXSHGPUSIMOPT_SHADOWRES2048 | |
D3DXSHGPUSIMOPT_HIGHQUALITY | |
D3DXSHGPUSIMOPT_FORCE_DWORD |
Definition at line 162 of file d3dx9mesh.h.
Definition at line 109 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXUVATLAS_DEFAULT | |
D3DXUVATLAS_GEODESIC_FAST | |
D3DXUVATLAS_GEODESIC_QUALITY |
Definition at line 132 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXWELDEPSILONS_WELDALL | |
D3DXWELDEPSILONS_WELDPARTIALMATCHES | |
D3DXWELDEPSILONS_DONOTREMOVEVERTICES | |
D3DXWELDEPSILONS_DONOTSPLIT |
Definition at line 147 of file d3dx9mesh.h.
Enumerator | |
---|---|
D3DXCLEAN_BACKFACING | |
D3DXCLEAN_BOWTIES | |
D3DXCLEAN_SKINNING | |
D3DXCLEAN_OPTIMIZATION | |
D3DXCLEAN_SIMPLIFICATION |
Definition at line 100 of file d3dx9mesh.h.
BOOL WINAPI D3DXBoxBoundProbe | ( | const D3DXVECTOR3 * | vmin, |
const D3DXVECTOR3 * | vmax, | ||
const D3DXVECTOR3 * | ray_pos, | ||
const D3DXVECTOR3 * | ray_dir | ||
) |
Definition at line 1911 of file mesh.c.
Referenced by D3DXBoundProbeTest().
HRESULT WINAPI D3DXCleanMesh | ( | D3DXCLEANTYPE | clean_type, |
ID3DXMesh * | mesh_in, | ||
const DWORD * | adjacency_in, | ||
ID3DXMesh ** | mesh_out, | ||
DWORD * | adjacency_out, | ||
ID3DXBuffer ** | errors | ||
) |
HRESULT WINAPI D3DXComputeBoundingBox | ( | const D3DXVECTOR3 * | first_pos, |
DWORD | num_vertices, | ||
DWORD | stride, | ||
D3DXVECTOR3 * | vmin, | ||
D3DXVECTOR3 * | vmax | ||
) |
Definition at line 1964 of file mesh.c.
Referenced by D3DXComputeBoundingBoxTest().
HRESULT WINAPI D3DXComputeBoundingSphere | ( | const D3DXVECTOR3 * | first_pos, |
DWORD | num_vertices, | ||
DWORD | stride, | ||
D3DXVECTOR3 * | center, | ||
FLOAT * | radius | ||
) |
Definition at line 1992 of file mesh.c.
Referenced by D3DXComputeBoundingSphereTest().
HRESULT WINAPI D3DXComputeIMTFromPerTexelSignal | ( | ID3DXMesh * | mesh, |
DWORD | texture_idx, | ||
float * | texel_signal, | ||
UINT | width, | ||
UINT | height, | ||
UINT | signal_dimension, | ||
UINT | component_count, | ||
DWORD | flags, | ||
LPD3DXUVATLASCB | cb, | ||
void * | ctx, | ||
ID3DXBuffer ** | buffer | ||
) |
HRESULT WINAPI D3DXComputeIMTFromPerVertexSignal | ( | ID3DXMesh * | mesh, |
const float * | vertex_signal, | ||
UINT | signal_dimension, | ||
UINT | signal_stride, | ||
DWORD | flags, | ||
LPD3DXUVATLASCB | cb, | ||
void * | ctx, | ||
ID3DXBuffer ** | buffer | ||
) |
HRESULT WINAPI D3DXComputeIMTFromSignal | ( | ID3DXMesh * | mesh, |
DWORD | texture_idx, | ||
UINT | signal_dimension, | ||
float | max_uv_distance, | ||
DWORD | flags, | ||
LPD3DXIMTSIGNALCALLBACK | signal_cb, | ||
void * | signal_ctx, | ||
LPD3DXUVATLASCB | status_cb, | ||
void * | status_ctx, | ||
ID3DXBuffer ** | buffer | ||
) |
HRESULT WINAPI D3DXComputeIMTFromTexture | ( | struct ID3DXMesh * | mesh, |
struct IDirect3DTexture9 * | texture, | ||
DWORD | texture_idx, | ||
DWORD | options, | ||
LPD3DXUVATLASCB | cb, | ||
void * | ctx, | ||
struct ID3DXBuffer ** | out | ||
) |
Definition at line 7563 of file mesh.c.
Referenced by compute_normals_D3DXComputeNormals().
HRESULT WINAPI D3DXComputeTangent | ( | ID3DXMesh * | mesh, |
DWORD | stage, | ||
DWORD | tangent_idx, | ||
DWORD | binorm_idx, | ||
DWORD | wrap, | ||
const DWORD * | adjacency | ||
) |
Definition at line 7545 of file mesh.c.
HRESULT WINAPI D3DXComputeTangentFrameEx | ( | ID3DXMesh * | mesh_in, |
DWORD | texture_in_semantic, | ||
DWORD | texture_in_idx, | ||
DWORD | u_partial_out_semantic, | ||
DWORD | u_partial_out_idx, | ||
DWORD | v_partial_out_semantic, | ||
DWORD | v_partial_out_idx, | ||
DWORD | normal_out_semantic, | ||
DWORD | normal_out_idx, | ||
DWORD | flags, | ||
const DWORD * | adjacency, | ||
float | partial_edge_threshold, | ||
float | singular_point_threshold, | ||
float | normal_edge_threshold, | ||
ID3DXMesh ** | mesh_out, | ||
ID3DXBuffer ** | buffer | ||
) |
Definition at line 7320 of file mesh.c.
Referenced by compute_normals_D3DXComputeTangentFrameEx(), D3DXComputeNormals(), D3DXComputeTangent(), and test_compute_normals().
HRESULT WINAPI D3DXConcatenateMeshes | ( | struct ID3DXMesh ** | meshes, |
UINT | mesh_count, | ||
DWORD | flags, | ||
const D3DXMATRIX * | geometry_matrices, | ||
const D3DXMATRIX * | texture_matrices, | ||
const D3DVERTEXELEMENT9 * | declaration, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXMesh ** | mesh | ||
) |
HRESULT WINAPI D3DXConvertMeshSubsetToStrips | ( | struct ID3DXBaseMesh * | mesh_in, |
DWORD | attribute_id, | ||
DWORD | ib_flags, | ||
struct IDirect3DIndexBuffer9 ** | index_buffer, | ||
DWORD * | index_count, | ||
struct ID3DXBuffer ** | strip_lengths, | ||
DWORD * | strip_count | ||
) |
HRESULT WINAPI D3DXCreateBuffer | ( | DWORD | size, |
ID3DXBuffer ** | buffer | ||
) |
Definition at line 131 of file core.c.
HRESULT WINAPI D3DXCreateMesh | ( | DWORD | face_count, |
DWORD | vertex_count, | ||
DWORD | flags, | ||
const D3DVERTEXELEMENT9 * | declaration, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXMesh ** | mesh | ||
) |
Definition at line 2433 of file mesh.c.
Referenced by d3dx9_mesh_CloneMesh(), D3DXCreateMeshFVF(), D3DXCreateMeshTest(), init_test_mesh(), test_convert_adjacency_to_point_reps(), test_convert_point_reps_to_adjacency(), and test_update_semantics().
HRESULT WINAPI D3DXCreateMeshFVF | ( | DWORD | face_count, |
DWORD | vertex_count, | ||
DWORD | flags, | ||
DWORD | fvf, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXMesh ** | mesh | ||
) |
Definition at line 2596 of file mesh.c.
Referenced by D3DXCreateBox(), D3DXCreateCylinder(), D3DXCreateMeshFVFTest(), D3DXCreatePolygon(), D3DXCreateSphere(), D3DXCreateTextW(), D3DXCreateTorus(), D3DXGenerateAdjacencyTest(), D3DXLoadMeshFromXInMemory(), and D3DXLoadSkinMeshFromXof().
HRESULT WINAPI D3DXCreatePatchMesh | ( | const D3DXPATCHINFO * | patch_info, |
DWORD | patch_count, | ||
DWORD | vertex_count, | ||
DWORD | flags, | ||
const D3DVERTEXELEMENT9 * | declaration, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXPatchMesh ** | mesh | ||
) |
HRESULT WINAPI D3DXCreatePMeshFromStream | ( | struct IStream * | stream, |
DWORD | flags, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXBuffer ** | materials, | ||
struct ID3DXBuffer ** | effect_instances, | ||
DWORD * | material_count, | ||
struct ID3DXPMesh ** | mesh | ||
) |
HRESULT WINAPI D3DXCreatePRTBuffer | ( | UINT | sample_count, |
UINT | coeff_count, | ||
UINT | channel_count, | ||
ID3DXPRTBuffer ** | buffer | ||
) |
HRESULT WINAPI D3DXCreatePRTBufferTex | ( | UINT | width, |
UINT | height, | ||
UINT | coeff_count, | ||
UINT | channel_count, | ||
ID3DXPRTBuffer ** | buffer | ||
) |
HRESULT WINAPI D3DXCreatePRTCompBuffer | ( | D3DXSHCOMPRESSQUALITYTYPE | quality, |
UINT | cluster_count, | ||
UINT | pca_count, | ||
LPD3DXSHPRTSIMCB | cb, | ||
void * | ctx, | ||
ID3DXPRTBuffer * | input, | ||
ID3DXPRTCompBuffer ** | buffer | ||
) |
HRESULT WINAPI D3DXCreatePRTEngine | ( | ID3DXMesh * | mesh, |
DWORD * | adjacency, | ||
BOOL | extract_uv, | ||
ID3DXMesh * | blocker_mesh, | ||
ID3DXPRTEngine ** | engine | ||
) |
HRESULT WINAPI D3DXCreateSkinInfo | ( | DWORD | vertex_count, |
const D3DVERTEXELEMENT9 * | declaration, | ||
DWORD | bone_count, | ||
ID3DXSkinInfo ** | skin_info | ||
) |
Definition at line 549 of file skin.c.
Referenced by d3dx9_skin_info_Clone(), D3DXCreateSkinInfoFVF(), and test_create_skin_info().
HRESULT WINAPI D3DXCreateSkinInfoFromBlendedMesh | ( | ID3DXBaseMesh * | mesh, |
DWORD | bone_count, | ||
const D3DXBONECOMBINATION * | bone_combination_table, | ||
ID3DXSkinInfo ** | skin_info | ||
) |
HRESULT WINAPI D3DXCreateSkinInfoFVF | ( | DWORD | vertex_count, |
DWORD | fvf, | ||
DWORD | bone_count, | ||
ID3DXSkinInfo ** | skin_info | ||
) |
Definition at line 591 of file skin.c.
Referenced by parse_mesh(), parse_skin_mesh_info(), test_create_skin_info(), and test_update_skinned_mesh().
HRESULT WINAPI D3DXCreateSPMesh | ( | ID3DXMesh * | mesh, |
const DWORD * | adjacency, | ||
const D3DXATTRIBUTEWEIGHTS * | attribute_weights, | ||
const float * | vertex_weights, | ||
ID3DXSPMesh ** | spmesh | ||
) |
HRESULT WINAPI D3DXCreateTextureGutterHelper | ( | UINT | width, |
UINT | height, | ||
ID3DXMesh * | mesh, | ||
float | gutter_size, | ||
ID3DXTextureGutterHelper ** | gh | ||
) |
HRESULT WINAPI D3DXDeclaratorFromFVF | ( | DWORD | fvf, |
D3DVERTEXELEMENT9 | declaration[MAX_FVF_DECL_SIZE] | ||
) |
Definition at line 2036 of file mesh.c.
Referenced by d3dx9_mesh_CloneMeshFVF(), d3dx9_skin_info_SetFVF(), D3DXCreateMeshFVF(), D3DXCreateSkinInfoFVF(), test_create_skin_info(), and test_fvf_to_decl().
HRESULT WINAPI D3DXFVFFromDeclarator | ( | const D3DVERTEXELEMENT9 * | decl, |
DWORD * | fvf | ||
) |
Definition at line 2134 of file mesh.c.
Referenced by d3dx9_skin_info_SetDeclaration(), D3DXCreateMesh(), test_create_skin_info(), and test_decl_to_fvf().
HRESULT WINAPI D3DXGenerateOutputDecl | ( | D3DVERTEXELEMENT9 * | decl_out, |
const D3DVERTEXELEMENT9 * | decl_in | ||
) |
HRESULT WINAPI D3DXGeneratePMesh | ( | ID3DXMesh * | mesh, |
const DWORD * | adjacency, | ||
const D3DXATTRIBUTEWEIGHTS * | attribute_weights, | ||
const float * | vertex_weights, | ||
DWORD | min_value, | ||
DWORD | flags, | ||
ID3DXPMesh ** | pmesh | ||
) |
UINT WINAPI D3DXGetDeclLength | ( | const D3DVERTEXELEMENT9 * | decl | ) |
Definition at line 2354 of file mesh.c.
Referenced by test_clone_mesh(), and test_get_decl_length().
UINT WINAPI D3DXGetDeclVertexSize | ( | const D3DVERTEXELEMENT9 * | decl, |
DWORD | stream_idx | ||
) |
Definition at line 2323 of file mesh.c.
Referenced by d3dx9_mesh_UpdateSemantics(), D3DXCreateMesh(), D3DXLoadMeshFromXInMemory(), test_clone_mesh(), and test_get_decl_vertex_size().
Definition at line 2289 of file mesh.c.
HRESULT WINAPI D3DXIntersect | ( | ID3DXBaseMesh * | mesh, |
const D3DXVECTOR3 * | ray_position, | ||
const D3DXVECTOR3 * | ray_direction, | ||
BOOL * | hit, | ||
DWORD * | face_idx, | ||
float * | u, | ||
float * | v, | ||
float * | distance, | ||
ID3DXBuffer ** | hits, | ||
DWORD * | hit_count | ||
) |
Definition at line 7582 of file mesh.c.
HRESULT WINAPI D3DXIntersectSubset | ( | ID3DXBaseMesh * | mesh, |
DWORD | attribute_id, | ||
const D3DXVECTOR3 * | ray_position, | ||
const D3DXVECTOR3 * | ray_direction, | ||
BOOL * | hit, | ||
DWORD * | face_idx, | ||
float * | u, | ||
float * | v, | ||
float * | distance, | ||
ID3DXBuffer ** | hits, | ||
DWORD * | hit_count | ||
) |
BOOL WINAPI D3DXIntersectTri | ( | const D3DXVECTOR3 * | vtx0, |
const D3DXVECTOR3 * | vtx1, | ||
const D3DXVECTOR3 * | vtx2, | ||
const D3DXVECTOR3 * | ray_pos, | ||
const D3DXVECTOR3 * | ray_dir, | ||
FLOAT * | u, | ||
FLOAT * | v, | ||
FLOAT * | dist | ||
) |
Definition at line 2367 of file mesh.c.
Referenced by D3DXIntersectTriTest().
HRESULT WINAPI D3DXLoadMeshFromXA | ( | const char * | filename, |
DWORD | flags, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXBuffer ** | adjacency, | ||
struct ID3DXBuffer ** | materials, | ||
struct ID3DXBuffer ** | effect_instances, | ||
DWORD * | material_count, | ||
struct ID3DXMesh ** | mesh | ||
) |
Definition at line 4052 of file mesh.c.
HRESULT WINAPI D3DXLoadMeshFromXInMemory | ( | const void * | data, |
DWORD | data_size, | ||
DWORD | flags, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXBuffer ** | adjacency, | ||
struct ID3DXBuffer ** | materials, | ||
struct ID3DXBuffer ** | effect_instances, | ||
DWORD * | material_count, | ||
struct ID3DXMesh ** | mesh | ||
) |
Definition at line 4198 of file mesh.c.
Referenced by D3DXLoadMeshFromXResource(), D3DXLoadMeshFromXW(), D3DXLoadMeshTest(), and test_LoadMeshFromX_().
HRESULT WINAPI D3DXLoadMeshFromXof | ( | struct ID3DXFileData * | file_data, |
DWORD | flags, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXBuffer ** | adjacency, | ||
struct ID3DXBuffer ** | materials, | ||
struct ID3DXBuffer ** | effect_instances, | ||
DWORD * | material_count, | ||
struct ID3DXMesh ** | mesh | ||
) |
HRESULT WINAPI D3DXLoadMeshFromXResource | ( | HMODULE | module, |
const char * | resource, | ||
const char * | resource_type, | ||
DWORD | flags, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXBuffer ** | adjacency, | ||
struct ID3DXBuffer ** | materials, | ||
struct ID3DXBuffer ** | effect_instances, | ||
DWORD * | material_count, | ||
struct ID3DXMesh ** | mesh | ||
) |
Definition at line 4108 of file mesh.c.
HRESULT WINAPI D3DXLoadMeshFromXW | ( | const WCHAR * | filename, |
DWORD | flags, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXBuffer ** | adjacency, | ||
struct ID3DXBuffer ** | materials, | ||
struct ID3DXBuffer ** | effect_instances, | ||
DWORD * | material_count, | ||
struct ID3DXMesh ** | mesh | ||
) |
Definition at line 4080 of file mesh.c.
Referenced by D3DXLoadMeshFromXA().
HRESULT WINAPI D3DXLoadPatchMeshFromXof | ( | struct ID3DXFileData * | file_data, |
DWORD | flags, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXBuffer ** | adjacency, | ||
struct ID3DXBuffer ** | materials, | ||
struct ID3DXBuffer ** | effect_instances, | ||
DWORD * | material_count, | ||
struct ID3DXPatchMesh ** | mesh | ||
) |
HRESULT WINAPI D3DXLoadPRTCompBufferFromFileA | ( | const char * | filename, |
ID3DXPRTCompBuffer ** | buffer | ||
) |
HRESULT WINAPI D3DXLoadPRTCompBufferFromFileW | ( | const WCHAR * | filename, |
ID3DXPRTCompBuffer ** | buffer | ||
) |
HRESULT WINAPI D3DXLoadSkinMeshFromXof | ( | struct ID3DXFileData * | file_data, |
DWORD | flags, | ||
struct IDirect3DDevice9 * | device, | ||
struct ID3DXBuffer ** | adjacency, | ||
struct ID3DXBuffer ** | materials, | ||
struct ID3DXBuffer ** | effect_instances, | ||
DWORD * | material_count, | ||
struct ID3DXSkinInfo ** | skin_info, | ||
struct ID3DXMesh ** | mesh | ||
) |
Definition at line 3445 of file mesh.c.
Referenced by D3DXLoadMeshFromXInMemory(), load_mesh_container(), parse_frame(), and test_load_skin_mesh_from_xof().
HRESULT WINAPI D3DXOptimizeFaces | ( | const void * | indices, |
UINT | face_count, | ||
UINT | vertex_count, | ||
BOOL | idx_32bit, | ||
DWORD * | face_remap | ||
) |
Definition at line 7239 of file mesh.c.
Referenced by test_optimize_faces().
HRESULT WINAPI D3DXOptimizeVertices | ( | const void * | indices, |
UINT | face_count, | ||
UINT | vertex_count, | ||
BOOL | idx_32bit, | ||
DWORD * | vertex_remap | ||
) |
Definition at line 7196 of file mesh.c.
Referenced by test_optimize_vertices().
HRESULT WINAPI D3DXRectPatchSize | ( | const FLOAT * | segment_count, |
DWORD * | num_triangles, | ||
DWORD * | num_vertices | ||
) |