aardio 文档
com.interface.IDirect3D9 库模块帮助文档
com.interface.IDirect3D9 成员列表
IDirect3D9
com.interface.IDirect3D9.Create()
返回对象:IDirect3D9Object
com.interface.IDirect3D9.Create(32)
创建接口,参数指定版本号
D3DADAPTERIDENTIFIER9Object 成员列表
D3DADAPTERIDENTIFIER9Object.Description
Description
D3DADAPTERIDENTIFIER9Object.DeviceId
DeviceId
D3DADAPTERIDENTIFIER9Object.DeviceName
DeviceName
D3DADAPTERIDENTIFIER9Object.Driver
Driver
D3DADAPTERIDENTIFIER9Object.DriverVersion
DriverVersion
D3DADAPTERIDENTIFIER9Object.DriverVersion.HighPart
HighPart
D3DADAPTERIDENTIFIER9Object.DriverVersion.LowPart
LowPart
D3DADAPTERIDENTIFIER9Object.Revision
Revision
D3DADAPTERIDENTIFIER9Object.SubSysId
SubSysId
D3DADAPTERIDENTIFIER9Object.VendorId
VendorId
IDirect3D9Object 成员列表
IDirect3D9Object.AddRef()
引用计数加一,返回引用计数
IDirect3D9Object.GetAdapterCount()
得到显卡数量
IDirect3D9Object.GetAdapterIdentifier()
返回对象:D3DADAPTERIDENTIFIER9Object
IDirect3D9Object.GetAdapterIdentifier(adapter,flags)
返回显卡信息
adapter可省略,默认为_D3DADAPTER_DEFAULT
IDirect3D9Object.GetDeviceCaps()
返回对象:D3DCAPS9Object
IDirect3D9Object.GetDeviceCaps(adapter,deviceType)
返回D3DCAPS9结构体包含指定设备的性能参数
adapter可省略,默认为_D3DADAPTER_DEFAULT,
deviceType可省略,默认为 _D3DDEVTYPE_HA
IDirect3D9Object.QueryInterface(接口数)
参数是接口类,参考com.interface.IUnknown源码
IDirect3D9Object.Release()
引用计数减一,返回引用计数
自动完成常量
_D3DADAPTER_DEFAULT=0
_D3DDEVTYPE_FORCE_DWORD=0x7FFFFFFF
_D3DDEVTYPE_HAL=1
_D3DDEVTYPE_REF=2
_D3DDEVTYPE_SW=3
Markdown 格式