Bullet Collision Detection & Physics Library
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
DXFunctions Class Reference

#include <btSoftBodySolver_DX11.h>

Classes

class  KernelDesc
 

Public Types

typedef HRESULT(WINAPI * CompileFromMemoryFunc )(LPCSTR, SIZE_T, LPCSTR, const D3D10_SHADER_MACRO *, LPD3D10INCLUDE, LPCSTR, LPCSTR, UINT, UINT, ID3DX11ThreadPump *, ID3D10Blob **, ID3D10Blob **, HRESULT *)
 

Public Member Functions

 DXFunctions (ID3D11Device *dx11Device, ID3D11DeviceContext *dx11Context, CompileFromMemoryFunc dx11CompileFromMemory)
 
KernelDesc compileComputeShaderFromString (const char *shaderString, const char *shaderName, int constBufferSize, D3D10_SHADER_MACRO *compileMacros=0)
 Compile a compute shader kernel from a string and return the appropriate KernelDesc object. More...
 

Public Attributes

ID3D11Device * m_dx11Device
 
ID3D11DeviceContext * m_dx11Context
 
CompileFromMemoryFunc m_dx11CompileFromMemory
 

Detailed Description

Definition at line 29 of file btSoftBodySolver_DX11.h.

Member Typedef Documentation

typedef HRESULT(WINAPI * DXFunctions::CompileFromMemoryFunc)(LPCSTR, SIZE_T, LPCSTR, const D3D10_SHADER_MACRO *, LPD3D10INCLUDE, LPCSTR, LPCSTR, UINT, UINT, ID3DX11ThreadPump *, ID3D10Blob **, ID3D10Blob **, HRESULT *)

Definition at line 33 of file btSoftBodySolver_DX11.h.

Constructor & Destructor Documentation

DXFunctions::DXFunctions ( ID3D11Device *  dx11Device,
ID3D11DeviceContext *  dx11Context,
CompileFromMemoryFunc  dx11CompileFromMemory 
)
inline

Definition at line 39 of file btSoftBodySolver_DX11.h.

Member Function Documentation

DXFunctions::KernelDesc DXFunctions::compileComputeShaderFromString ( const char *  shaderString,
const char *  shaderName,
int  constBufferSize,
D3D10_SHADER_MACRO *  compileMacros = 0 
)

Compile a compute shader kernel from a string and return the appropriate KernelDesc object.

Definition at line 1995 of file btSoftBodySolver_DX11.cpp.

Member Data Documentation

CompileFromMemoryFunc DXFunctions::m_dx11CompileFromMemory

Definition at line 37 of file btSoftBodySolver_DX11.h.

ID3D11DeviceContext* DXFunctions::m_dx11Context

Definition at line 36 of file btSoftBodySolver_DX11.h.

ID3D11Device* DXFunctions::m_dx11Device

Definition at line 35 of file btSoftBodySolver_DX11.h.


The documentation for this class was generated from the following files: