LDKRHIDrawDesc
typedef struct LDKRHIDrawDesc{
uint32_t vertex_count;
uint32_t first_vertex;
}LDKRHIDrawDesc;
typedef struct LDKRHIDrawDesc{
uint32_t vertex_count;
uint32_t first_vertex;
}LDKRHIDrawDesc;
typedef struct LDKRHIDrawIndexedDesc{
uint32_t index_count;
uint32_t first_index;
int32_t vertex_offset;
}LDKRHIDrawIndexedDesc;
typedef struct LDKRHIDrawIndexedInstancedDesc{
uint32_t index_count;
uint32_t instance_count;
uint32_t first_index;
int32_t vertex_offset;
uint32_t first_instance;
}LDKRHIDrawIndexedInstancedDesc;
typedef struct LDKRHIDrawInstancedDesc{
uint32_t vertex_count;
uint32_t instance_count;
uint32_t first_vertex;
uint32_t first_instance;
}LDKRHIDrawInstancedDesc;
Issues a non-indexed draw call.
LDK_API void ldk_rhi_draw(
LDKRHIContext *context,
const LDKRHIDrawDesc *desc
);
LDKRHIContext *contextconst LDKRHIDrawDesc *descIssues an indexed draw call.
LDK_API void ldk_rhi_draw_indexed(
LDKRHIContext *context,
const LDKRHIDrawIndexedDesc *desc
);
LDKRHIContext *contextconst LDKRHIDrawIndexedDesc *descIssues an indexed instanced draw call.
LDK_API void ldk_rhi_draw_indexed_instanced(
LDKRHIContext *context,
const LDKRHIDrawIndexedInstancedDesc *desc
);
LDKRHIContext *contextconst LDKRHIDrawIndexedInstancedDesc *descIssues an instanced draw call.
LDK_API void ldk_rhi_draw_instanced(
LDKRHIContext *context,
const LDKRHIDrawInstancedDesc *desc
);
LDKRHIContext *contextconst LDKRHIDrawInstancedDesc *desc