vkd3d  1.3
The vkd3d 3D Graphics Library
Macros | Enumerations
vkd3d_types.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  vkd3d_result {
  VKD3D_OK = 0, VKD3D_ERROR = -1, VKD3D_ERROR_OUT_OF_MEMORY = -2, VKD3D_ERROR_INVALID_ARGUMENT = -3,
  VKD3D_ERROR_INVALID_SHADER = -4, VKD3D_ERROR_NOT_IMPLEMENTED = -5
}
 Result codes returned by some vkd3d functions. More...
 

Detailed Description

This file contains definitions for basic types used by vkd3d libraries.

Enumeration Type Documentation

◆ vkd3d_result

Result codes returned by some vkd3d functions.

Error codes always have negative values; non-error codes never do.

Enumerator
VKD3D_OK 

Success.

VKD3D_ERROR 

An unspecified failure occurred.

VKD3D_ERROR_OUT_OF_MEMORY 

There are not enough resources available to complete the operation.

VKD3D_ERROR_INVALID_ARGUMENT 

One or more parameters passed to a vkd3d function were invalid.

VKD3D_ERROR_INVALID_SHADER 

A shader passed to a vkd3d function was invalid.

VKD3D_ERROR_NOT_IMPLEMENTED 

The operation is not implemented in this version of vkd3d.