sculpto
Main Page
Namespaces
Classes
Files
Namespace List
Namespace Members
scl
dx
Classes
|
Functions
scl::dx Namespace Reference
Classes
class
com_exeption
Functions
void
ThrowIfFailed
(HRESULT hr)
Function Documentation
◆
ThrowIfFailed()
void scl::dx::ThrowIfFailed
(
HRESULT
hr
)
inline
Helper utility converts D3D API failures into exceptions.
Parameters
hr
COM result handle.
Returns
None.
Definition at line
42
of file
throw_if_failed.h
.
43
{
44
if
(FAILED(hr))
45
{
46
throw
com_exeption
(hr);
47
}
48
}
scl::dx::com_exeption
Definition:
throw_if_failed.h:18
Generated by
1.9.4