|
enum | VK2DVertexType {
VK2D_VERTEX_TYPE_TEXTURE = 0
, VK2D_VERTEX_TYPE_SHAPE = 1
, VK2D_VERTEX_TYPE_MODEL = 2
, VK2D_VERTEX_TYPE_OTHER = 3
,
VK2D_VERTEX_TYPE_MAX = 4
} |
| Describes what kind of vertices are in use. More...
|
|
enum | VK2DBlendMode {
VK2D_BLEND_MODE_BLEND = 0
, VK2D_BLEND_MODE_NONE = 1
, VK2D_BLEND_MODE_ADD = 2
, VK2D_BLEND_MODE_SUBTRACT = 3
,
VK2D_BLEND_MODE_MAX = 4
} |
| Blend modes that can be used to render if VK2D_GENERATE_BLEND_MODES is enabled. More...
|
|
enum | VK2DMSAA {
VK2D_MSAA_1X = VK_SAMPLE_COUNT_1_BIT
, VK2D_MSAA_2X = VK_SAMPLE_COUNT_2_BIT
, VK2D_MSAA_4X = VK_SAMPLE_COUNT_4_BIT
, VK2D_MSAA_8X = VK_SAMPLE_COUNT_8_BIT
,
VK2D_MSAA_16X = VK_SAMPLE_COUNT_16_BIT
, VK2D_MSAA_32X = VK_SAMPLE_COUNT_32_BIT
} |
| Multisampling detail. More...
|
|
enum | VK2DScreenMode { VK2D_SCREEN_MODE_IMMEDIATE = VK_PRESENT_MODE_IMMEDIATE_KHR
, VK2D_SCREEN_MODE_VSYNC = VK_PRESENT_MODE_FIFO_KHR
, VK2D_SCREEN_MODE_TRIPLE_BUFFER = VK_PRESENT_MODE_MAILBOX_KHR
} |
| How to present images. More...
|
|
enum | VK2DFilterType { VK2D_FILTER_TYPE_LINEAR = VK_FILTER_LINEAR
, VK2D_FILTER_TYPE_NEAREST = VK_FILTER_NEAREST
} |
| Specifies how textures will be filtered at higher and lower resolutions. More...
|
|
enum | VK2DShaderStage { VK2D_SHADER_STAGE_FRAGMENT = VK_SHADER_STAGE_FRAGMENT_BIT
, VK2D_SHADER_STAGE_VERTEX = VK_SHADER_STAGE_VERTEX_BIT
} |
| A bitwise-able enum representing different shader stages. More...
|
|
enum | VK2DCameraState {
VK2D_CAMERA_STATE_NORMAL = 0
, VK2D_CAMERA_STATE_DISABLED = 1
, VK2D_CAMERA_STATE_DELETED = 2
, VK2D_CAMERA_STATE_RESET = 3
,
VK2D_CAMERA_STATE_MAX = 4
} |
| The state a camera is in. More...
|
|
enum | VK2DCameraType { VK2D_CAMERA_TYPE_DEFAULT = 0
, VK2D_CAMERA_TYPE_ORTHOGRAPHIC = 1
, VK2D_CAMERA_TYPE_PERSPECTIVE = 2
, VK2D_CAMERA_TYPE_MAX = 3
} |
| Type of camera. More...
|
|
enum | VK2DPipelineType {
VK2D_PIPELINE_TYPE_DEFAULT = 0
, VK2D_PIPELINE_TYPE_3D = 1
, VK2D_PIPELINE_TYPE_INSTANCING = 2
, VK2D_PIPELINE_TYPE_SHADOWS = 3
,
VK2D_PIPELINE_TYPE_USER_SHADER = 4
, VK2D_PIPELINE_TYPE_MAX = 5
} |
| Types of graphics pipelines. More...
|
|
enum | VK2DResult { VK2D_SUCCESS = 0
, VK2D_RESET_SWAPCHAIN = 1
, VK2D_ERROR = -1
} |
| Return codes through the renderer. More...
|
|
enum | VK2DStatus {
VK2D_STATUS_NONE = 0
, VK2D_STATUS_FILE_NOT_FOUND = 1<<0
, VK2D_STATUS_BAD_FORMAT = 1<<1
, VK2D_STATUS_TOO_MANY_CAMERAS = 1<<2
,
VK2D_STATUS_DEVICE_LOST = 1<<3
, VK2D_STATUS_VULKAN_ERROR = 1<<4
, VK2D_STATUS_OUT_OF_RAM = 1<<5
, VK2D_STATUS_OUT_OF_VRAM = 1<<6
,
VK2D_STATUS_RENDERER_NOT_INITIALIZED = 1<<7
, VK2D_STATUS_SDL_ERROR = 1<<8
, VK2D_STATUS_BEYOND_LIMIT = 1<<9
, VK2D_STATUS_BAD_ASSET = 1<<10
} |
| Status codes for logging/error reporting. More...
|
|
enum | VK2DAssetType {
VK2D_ASSET_TYPE_TEXTURE_FILE = 1
, VK2D_ASSET_TYPE_TEXTURE_MEMORY = 2
, VK2D_ASSET_TYPE_MODEL_FILE = 3
, VK2D_ASSET_TYPE_MODEL_MEMORY = 4
,
VK2D_ASSET_TYPE_SHADER_FILE = 5
, VK2D_ASSET_TYPE_SHADER_MEMORY = 6
} |
| Types of assets. More...
|
|
enum | VK2DAssetState { VK2D_ASSET_TYPE_ASSET = 0
, VK2D_ASSET_TYPE_PENDING = 1
, VK2D_ASSET_TYPE_NONE = 2
} |
| State an asset may be in. More...
|
|
Forward declares struct typedefs.
- Author
- Paolo Mazzon