Updated bindings.

This commit is contained in:
Бранимир Караџић 2022-03-05 16:33:03 -08:00
parent 630890f5de
commit 7cfa401860
2 changed files with 135 additions and 135 deletions

View File

@ -22,7 +22,7 @@ version(BindBgfx_Static)
* _mip = Mip level.
* _resolve = Resolve flags. See: `BGFX_RESOLVE_*`
*/
void bgfx_attachment_init(bgfx_attachment_t* _this, bgfx_texture_handle_t _handle, bgfx_access_t _access, ushort _layer, ushort _numLayers, ushort _mip, byte _resolve);
void bgfx_attachment_init(bgfx_attachment_t* _this, bgfx_texture_handle_t _handle, bgfx_access_t _access, ushort _layer, ushort _numLayers, ushort _mip, ubyte _resolve);
/**
* Start VertexLayout.
@ -46,7 +46,7 @@ version(BindBgfx_Static)
* vertexConvert for AttribType::Uint8 and AttribType::Int16.
* Unpacking code must be implemented inside vertex shader.
*/
bgfx_vertex_layout_t* bgfx_vertex_layout_add(bgfx_vertex_layout_t* _this, bgfx_attrib_t _attrib, byte _num, bgfx_attrib_type_t _type, bool _normalized, bool _asInt);
bgfx_vertex_layout_t* bgfx_vertex_layout_add(bgfx_vertex_layout_t* _this, bgfx_attrib_t _attrib, ubyte _num, bgfx_attrib_type_t _type, bool _normalized, bool _asInt);
/**
* Decode attribute.
@ -57,7 +57,7 @@ version(BindBgfx_Static)
* _normalized = Attribute is normalized.
* _asInt = Attribute is packed as int.
*/
void bgfx_vertex_layout_decode(const(bgfx_vertex_layout_t)* _this, bgfx_attrib_t _attrib, byte* _num, bgfx_attrib_type_t* _type, bool* _normalized, bool* _asInt);
void bgfx_vertex_layout_decode(const(bgfx_vertex_layout_t)* _this, bgfx_attrib_t _attrib, ubyte* _num, bgfx_attrib_type_t* _type, bool* _normalized, bool* _asInt);
/**
* Returns `true` if VertexLayout contains attribute.
@ -71,7 +71,7 @@ version(BindBgfx_Static)
* Params:
* _num = Number of bytes to skip.
*/
bgfx_vertex_layout_t* bgfx_vertex_layout_skip(bgfx_vertex_layout_t* _this, byte _num);
bgfx_vertex_layout_t* bgfx_vertex_layout_skip(bgfx_vertex_layout_t* _this, ubyte _num);
/**
* End VertexLayout.
@ -166,7 +166,7 @@ version(BindBgfx_Static)
* _max = Maximum number of elements in _enum array.
* _enum = Array where supported renderers will be written.
*/
byte bgfx_get_supported_renderers(byte _max, bgfx_renderer_type_t* _enum);
ubyte bgfx_get_supported_renderers(ubyte _max, bgfx_renderer_type_t* _enum);
/**
* Returns name of renderer.
@ -307,7 +307,7 @@ version(BindBgfx_Static)
* _attr = Background color.
* _small = Default 8x16 or 8x8 font.
*/
void bgfx_dbg_text_clear(byte _attr, bool _small);
void bgfx_dbg_text_clear(ubyte _attr, bool _small);
/**
* Print formatted data to internal debug text character-buffer (VGA-compatible text mode).
@ -318,7 +318,7 @@ version(BindBgfx_Static)
* 4-bits represent foreground color from standard VGA text palette (ANSI escape codes).
* _format = `printf` style format.
*/
void bgfx_dbg_text_printf(ushort _x, ushort _y, byte _attr, const(char)* _format, ... );
void bgfx_dbg_text_printf(ushort _x, ushort _y, ubyte _attr, const(char)* _format, ... );
/**
* Print formatted data from variable argument list to internal debug text character-buffer (VGA-compatible text mode).
@ -330,7 +330,7 @@ version(BindBgfx_Static)
* _format = `printf` style format.
* _argList = Variable arguments list for format string.
*/
void bgfx_dbg_text_vprintf(ushort _x, ushort _y, byte _attr, const(char)* _format, va_list _argList);
void bgfx_dbg_text_vprintf(ushort _x, ushort _y, ubyte _attr, const(char)* _format, va_list _argList);
/**
* Draw image into internal debug text buffer.
@ -706,7 +706,7 @@ version(BindBgfx_Static)
* _num = Number of attachments.
* _attachment = Attachment texture info. See: `bgfx::Attachment`.
*/
bool bgfx_is_frame_buffer_valid(byte _num, const(bgfx_attachment_t)* _attachment);
bool bgfx_is_frame_buffer_valid(ubyte _num, const(bgfx_attachment_t)* _attachment);
/**
* Calculate amount of memory required for texture.
@ -735,7 +735,7 @@ version(BindBgfx_Static)
* _skip = Skip top level mips when parsing texture.
* _info = When non-`NULL` is specified it returns parsed texture information.
*/
bgfx_texture_handle_t bgfx_create_texture(const(bgfx_memory_t)* _mem, ulong _flags, byte _skip, bgfx_texture_info_t* _info);
bgfx_texture_handle_t bgfx_create_texture(const(bgfx_memory_t)* _mem, ulong _flags, ubyte _skip, bgfx_texture_info_t* _info);
/**
* Create 2D texture.
@ -831,7 +831,7 @@ version(BindBgfx_Static)
* _pitch = Pitch of input image (bytes). When _pitch is set to
* UINT16_MAX, it will be calculated internally based on _width.
*/
void bgfx_update_texture_2d(bgfx_texture_handle_t _handle, ushort _layer, byte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch);
void bgfx_update_texture_2d(bgfx_texture_handle_t _handle, ushort _layer, ubyte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch);
/**
* Update 3D texture.
@ -847,7 +847,7 @@ version(BindBgfx_Static)
* _depth = Depth of texture block.
* _mem = Texture update data.
*/
void bgfx_update_texture_3d(bgfx_texture_handle_t _handle, byte _mip, ushort _x, ushort _y, ushort _z, ushort _width, ushort _height, ushort _depth, const(bgfx_memory_t)* _mem);
void bgfx_update_texture_3d(bgfx_texture_handle_t _handle, ubyte _mip, ushort _x, ushort _y, ushort _z, ushort _width, ushort _height, ushort _depth, const(bgfx_memory_t)* _mem);
/**
* Update Cube texture.
@ -882,7 +882,7 @@ version(BindBgfx_Static)
* _pitch = Pitch of input image (bytes). When _pitch is set to
* UINT16_MAX, it will be calculated internally based on _width.
*/
void bgfx_update_texture_cube(bgfx_texture_handle_t _handle, ushort _layer, byte _side, byte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch);
void bgfx_update_texture_cube(bgfx_texture_handle_t _handle, ushort _layer, ubyte _side, ubyte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch);
/**
* Read back texture content.
@ -893,7 +893,7 @@ version(BindBgfx_Static)
* _data = Destination buffer.
* _mip = Mip level.
*/
uint bgfx_read_texture(bgfx_texture_handle_t _handle, void* _data, byte _mip);
uint bgfx_read_texture(bgfx_texture_handle_t _handle, void* _data, ubyte _mip);
/**
* Set texture debug name.
@ -960,7 +960,7 @@ version(BindBgfx_Static)
* _destroyTexture = If true, textures will be destroyed when
* frame buffer is destroyed.
*/
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_handles(byte _num, const(bgfx_texture_handle_t)* _handles, bool _destroyTexture);
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_handles(ubyte _num, const(bgfx_texture_handle_t)* _handles, bool _destroyTexture);
/**
* Create MRT frame buffer from texture handles with specific layer and
@ -971,7 +971,7 @@ version(BindBgfx_Static)
* _destroyTexture = If true, textures will be destroyed when
* frame buffer is destroyed.
*/
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_attachment(byte _num, const(bgfx_attachment_t)* _attachment, bool _destroyTexture);
bgfx_frame_buffer_handle_t bgfx_create_frame_buffer_from_attachment(ubyte _num, const(bgfx_attachment_t)* _attachment, bool _destroyTexture);
/**
* Create frame buffer for multiple window rendering.
@ -1002,7 +1002,7 @@ version(BindBgfx_Static)
* Params:
* _handle = Frame buffer handle.
*/
bgfx_texture_handle_t bgfx_get_texture(bgfx_frame_buffer_handle_t _handle, byte _attachment);
bgfx_texture_handle_t bgfx_get_texture(bgfx_frame_buffer_handle_t _handle, ubyte _attachment);
/**
* Destroy frame buffer.
@ -1084,7 +1084,7 @@ version(BindBgfx_Static)
* _index = Index into palette.
* _rgba = RGBA floating point values.
*/
void bgfx_set_palette_color(byte _index, const float[4] _rgba);
void bgfx_set_palette_color(ubyte _index, const float[4] _rgba);
/**
* Set palette color value.
@ -1092,7 +1092,7 @@ version(BindBgfx_Static)
* _index = Index into palette.
* _rgba = Packed 32-bit RGBA value.
*/
void bgfx_set_palette_color_rgba8(byte _index, uint _rgba);
void bgfx_set_palette_color_rgba8(ubyte _index, uint _rgba);
/**
* Set view name.
@ -1153,7 +1153,7 @@ version(BindBgfx_Static)
* _depth = Depth clear value.
* _stencil = Stencil clear value.
*/
void bgfx_set_view_clear(bgfx_view_id_t _id, ushort _flags, uint _rgba, float _depth, byte _stencil);
void bgfx_set_view_clear(bgfx_view_id_t _id, ushort _flags, uint _rgba, float _depth, ubyte _stencil);
/**
* Set view clear flags with different clear color for each
@ -1174,7 +1174,7 @@ version(BindBgfx_Static)
* _c6 = Palette index for frame buffer attachment 6.
* _c7 = Palette index for frame buffer attachment 7.
*/
void bgfx_set_view_clear_mrt(bgfx_view_id_t _id, ushort _flags, float _depth, byte _stencil, byte _c0, byte _c1, byte _c2, byte _c3, byte _c4, byte _c5, byte _c6, byte _c7);
void bgfx_set_view_clear_mrt(bgfx_view_id_t _id, ushort _flags, float _depth, ubyte _stencil, ubyte _c0, ubyte _c1, ubyte _c2, ubyte _c3, ubyte _c4, ubyte _c5, ubyte _c6, ubyte _c7);
/**
* Set view sorting mode.
@ -1381,7 +1381,7 @@ version(BindBgfx_Static)
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
void bgfx_encoder_set_vertex_buffer(bgfx_encoder_t* _this, byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
void bgfx_encoder_set_vertex_buffer(bgfx_encoder_t* _this, ubyte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
/**
* Set vertex buffer for draw primitive.
@ -1394,7 +1394,7 @@ version(BindBgfx_Static)
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
void bgfx_encoder_set_vertex_buffer_with_layout(bgfx_encoder_t* _this, byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
void bgfx_encoder_set_vertex_buffer_with_layout(bgfx_encoder_t* _this, ubyte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
/**
* Set vertex buffer for draw primitive.
@ -1404,9 +1404,9 @@ version(BindBgfx_Static)
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
void bgfx_encoder_set_dynamic_vertex_buffer(bgfx_encoder_t* _this, byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
void bgfx_encoder_set_dynamic_vertex_buffer(bgfx_encoder_t* _this, ubyte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
void bgfx_encoder_set_dynamic_vertex_buffer_with_layout(bgfx_encoder_t* _this, byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
void bgfx_encoder_set_dynamic_vertex_buffer_with_layout(bgfx_encoder_t* _this, ubyte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
/**
* Set vertex buffer for draw primitive.
@ -1416,7 +1416,7 @@ version(BindBgfx_Static)
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
void bgfx_encoder_set_transient_vertex_buffer(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices);
void bgfx_encoder_set_transient_vertex_buffer(bgfx_encoder_t* _this, ubyte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices);
/**
* Set vertex buffer for draw primitive.
@ -1429,7 +1429,7 @@ version(BindBgfx_Static)
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
void bgfx_encoder_set_transient_vertex_buffer_with_layout(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
void bgfx_encoder_set_transient_vertex_buffer_with_layout(bgfx_encoder_t* _this, ubyte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
/**
* Set number of vertices for auto generated vertices use in conjunction
@ -1488,7 +1488,7 @@ version(BindBgfx_Static)
* - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
* sampling.
*/
void bgfx_encoder_set_texture(bgfx_encoder_t* _this, byte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags);
void bgfx_encoder_set_texture(bgfx_encoder_t* _this, ubyte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags);
/**
* Submit an empty primitive for rendering. Uniforms and draw state
@ -1510,7 +1510,7 @@ version(BindBgfx_Static)
* _depth = Depth for sorting.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
void bgfx_encoder_submit(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, byte _flags);
void bgfx_encoder_submit(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, ubyte _flags);
/**
* Submit primitive with occlusion query for rendering.
@ -1521,7 +1521,7 @@ version(BindBgfx_Static)
* _depth = Depth for sorting.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
void bgfx_encoder_submit_occlusion_query(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags);
void bgfx_encoder_submit_occlusion_query(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, ubyte _flags);
/**
* Submit primitive for rendering with index and instance data info from
@ -1535,7 +1535,7 @@ version(BindBgfx_Static)
* _depth = Depth for sorting.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
void bgfx_encoder_submit_indirect(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, byte _flags);
void bgfx_encoder_submit_indirect(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, ubyte _flags);
/**
* Set compute index buffer.
@ -1544,7 +1544,7 @@ version(BindBgfx_Static)
* _handle = Index buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_encoder_set_compute_index_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_encoder_set_compute_index_buffer(bgfx_encoder_t* _this, ubyte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute vertex buffer.
@ -1553,7 +1553,7 @@ version(BindBgfx_Static)
* _handle = Vertex buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_encoder_set_compute_vertex_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_encoder_set_compute_vertex_buffer(bgfx_encoder_t* _this, ubyte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute dynamic index buffer.
@ -1562,7 +1562,7 @@ version(BindBgfx_Static)
* _handle = Dynamic index buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_encoder_set_compute_dynamic_index_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_encoder_set_compute_dynamic_index_buffer(bgfx_encoder_t* _this, ubyte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute dynamic vertex buffer.
@ -1571,7 +1571,7 @@ version(BindBgfx_Static)
* _handle = Dynamic vertex buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_encoder_set_compute_dynamic_vertex_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_encoder_set_compute_dynamic_vertex_buffer(bgfx_encoder_t* _this, ubyte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute indirect buffer.
@ -1580,7 +1580,7 @@ version(BindBgfx_Static)
* _handle = Indirect buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_encoder_set_compute_indirect_buffer(bgfx_encoder_t* _this, byte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_encoder_set_compute_indirect_buffer(bgfx_encoder_t* _this, ubyte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute image from texture.
@ -1591,7 +1591,7 @@ version(BindBgfx_Static)
* _access = Image access. See `Access::Enum`.
* _format = Texture format. See: `TextureFormat::Enum`.
*/
void bgfx_encoder_set_image(bgfx_encoder_t* _this, byte _stage, bgfx_texture_handle_t _handle, byte _mip, bgfx_access_t _access, bgfx_texture_format_t _format);
void bgfx_encoder_set_image(bgfx_encoder_t* _this, ubyte _stage, bgfx_texture_handle_t _handle, ubyte _mip, bgfx_access_t _access, bgfx_texture_format_t _format);
/**
* Dispatch compute.
@ -1603,7 +1603,7 @@ version(BindBgfx_Static)
* _numZ = Number of groups Z.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
void bgfx_encoder_dispatch(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, byte _flags);
void bgfx_encoder_dispatch(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, ubyte _flags);
/**
* Dispatch compute indirect.
@ -1615,14 +1615,14 @@ version(BindBgfx_Static)
* _num = Number of dispatches.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
void bgfx_encoder_dispatch_indirect(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, byte _flags);
void bgfx_encoder_dispatch_indirect(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, ubyte _flags);
/**
* Discard previously set state for draw or compute call.
* Params:
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
void bgfx_encoder_discard(bgfx_encoder_t* _this, byte _flags);
void bgfx_encoder_discard(bgfx_encoder_t* _this, ubyte _flags);
/**
* Blit 2D texture region between two 2D textures.
@ -1649,7 +1649,7 @@ version(BindBgfx_Static)
* _depth = If texture is 3D this argument represents depth of region, otherwise it's
* unused.
*/
void bgfx_encoder_blit(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_texture_handle_t _dst, byte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, byte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth);
void bgfx_encoder_blit(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_texture_handle_t _dst, ubyte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, ubyte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth);
/**
* Request screen shot of window back buffer.
@ -1726,7 +1726,7 @@ version(BindBgfx_Static)
* - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
* sampling.
*/
ulong bgfx_override_internal_texture(bgfx_texture_handle_t _handle, ushort _width, ushort _height, byte _numMips, bgfx_texture_format_t _format, ulong _flags);
ulong bgfx_override_internal_texture(bgfx_texture_handle_t _handle, ushort _width, ushort _height, ubyte _numMips, bgfx_texture_format_t _format, ulong _flags);
/**
* Sets a debug marker. This allows you to group graphics calls together for easy browsing in
@ -1872,7 +1872,7 @@ version(BindBgfx_Static)
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
void bgfx_set_vertex_buffer(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
void bgfx_set_vertex_buffer(ubyte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
/**
* Set vertex buffer for draw primitive.
@ -1885,7 +1885,7 @@ version(BindBgfx_Static)
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
void bgfx_set_vertex_buffer_with_layout(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
void bgfx_set_vertex_buffer_with_layout(ubyte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
/**
* Set vertex buffer for draw primitive.
@ -1895,7 +1895,7 @@ version(BindBgfx_Static)
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
void bgfx_set_dynamic_vertex_buffer(byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
void bgfx_set_dynamic_vertex_buffer(ubyte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
/**
* Set vertex buffer for draw primitive.
@ -1908,7 +1908,7 @@ version(BindBgfx_Static)
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
void bgfx_set_dynamic_vertex_buffer_with_layout(byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
void bgfx_set_dynamic_vertex_buffer_with_layout(ubyte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
/**
* Set vertex buffer for draw primitive.
@ -1918,7 +1918,7 @@ version(BindBgfx_Static)
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
void bgfx_set_transient_vertex_buffer(byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices);
void bgfx_set_transient_vertex_buffer(ubyte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices);
/**
* Set vertex buffer for draw primitive.
@ -1931,7 +1931,7 @@ version(BindBgfx_Static)
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
void bgfx_set_transient_vertex_buffer_with_layout(byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
void bgfx_set_transient_vertex_buffer_with_layout(ubyte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
/**
* Set number of vertices for auto generated vertices use in conjunction
@ -1990,7 +1990,7 @@ version(BindBgfx_Static)
* - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
* sampling.
*/
void bgfx_set_texture(byte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags);
void bgfx_set_texture(ubyte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags);
/**
* Submit an empty primitive for rendering. Uniforms and draw state
@ -2010,7 +2010,7 @@ version(BindBgfx_Static)
* _depth = Depth for sorting.
* _flags = Which states to discard for next draw. See `BGFX_DISCARD_*`.
*/
void bgfx_submit(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, byte _flags);
void bgfx_submit(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, ubyte _flags);
/**
* Submit primitive with occlusion query for rendering.
@ -2021,7 +2021,7 @@ version(BindBgfx_Static)
* _depth = Depth for sorting.
* _flags = Which states to discard for next draw. See `BGFX_DISCARD_*`.
*/
void bgfx_submit_occlusion_query(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags);
void bgfx_submit_occlusion_query(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, ubyte _flags);
/**
* Submit primitive for rendering with index and instance data info from
@ -2035,7 +2035,7 @@ version(BindBgfx_Static)
* _depth = Depth for sorting.
* _flags = Which states to discard for next draw. See `BGFX_DISCARD_*`.
*/
void bgfx_submit_indirect(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, byte _flags);
void bgfx_submit_indirect(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, ubyte _flags);
/**
* Set compute index buffer.
@ -2044,7 +2044,7 @@ version(BindBgfx_Static)
* _handle = Index buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_set_compute_index_buffer(byte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_set_compute_index_buffer(ubyte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute vertex buffer.
@ -2053,7 +2053,7 @@ version(BindBgfx_Static)
* _handle = Vertex buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_set_compute_vertex_buffer(byte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_set_compute_vertex_buffer(ubyte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute dynamic index buffer.
@ -2062,7 +2062,7 @@ version(BindBgfx_Static)
* _handle = Dynamic index buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_set_compute_dynamic_index_buffer(byte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_set_compute_dynamic_index_buffer(ubyte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute dynamic vertex buffer.
@ -2071,7 +2071,7 @@ version(BindBgfx_Static)
* _handle = Dynamic vertex buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_set_compute_dynamic_vertex_buffer(byte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_set_compute_dynamic_vertex_buffer(ubyte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute indirect buffer.
@ -2080,7 +2080,7 @@ version(BindBgfx_Static)
* _handle = Indirect buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
void bgfx_set_compute_indirect_buffer(byte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access);
void bgfx_set_compute_indirect_buffer(ubyte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access);
/**
* Set compute image from texture.
@ -2091,7 +2091,7 @@ version(BindBgfx_Static)
* _access = Image access. See `Access::Enum`.
* _format = Texture format. See: `TextureFormat::Enum`.
*/
void bgfx_set_image(byte _stage, bgfx_texture_handle_t _handle, byte _mip, bgfx_access_t _access, bgfx_texture_format_t _format);
void bgfx_set_image(ubyte _stage, bgfx_texture_handle_t _handle, ubyte _mip, bgfx_access_t _access, bgfx_texture_format_t _format);
/**
* Dispatch compute.
@ -2103,7 +2103,7 @@ version(BindBgfx_Static)
* _numZ = Number of groups Z.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
void bgfx_dispatch(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, byte _flags);
void bgfx_dispatch(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, ubyte _flags);
/**
* Dispatch compute indirect.
@ -2115,14 +2115,14 @@ version(BindBgfx_Static)
* _num = Number of dispatches.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
void bgfx_dispatch_indirect(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, byte _flags);
void bgfx_dispatch_indirect(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, ubyte _flags);
/**
* Discard previously set state for draw or compute call.
* Params:
* _flags = Draw/compute states to discard.
*/
void bgfx_discard(byte _flags);
void bgfx_discard(ubyte _flags);
/**
* Blit 2D texture region between two 2D textures.
@ -2149,7 +2149,7 @@ version(BindBgfx_Static)
* _depth = If texture is 3D this argument represents depth of region, otherwise it's
* unused.
*/
void bgfx_blit(bgfx_view_id_t _id, bgfx_texture_handle_t _dst, byte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, byte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth);
void bgfx_blit(bgfx_view_id_t _id, bgfx_texture_handle_t _dst, ubyte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, ubyte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth);
}
else
@ -2166,7 +2166,7 @@ else
* _mip = Mip level.
* _resolve = Resolve flags. See: `BGFX_RESOLVE_*`
*/
alias da_bgfx_attachment_init = void function(bgfx_attachment_t* _this, bgfx_texture_handle_t _handle, bgfx_access_t _access, ushort _layer, ushort _numLayers, ushort _mip, byte _resolve);
alias da_bgfx_attachment_init = void function(bgfx_attachment_t* _this, bgfx_texture_handle_t _handle, bgfx_access_t _access, ushort _layer, ushort _numLayers, ushort _mip, ubyte _resolve);
da_bgfx_attachment_init bgfx_attachment_init;
/**
@ -2192,7 +2192,7 @@ else
* vertexConvert for AttribType::Uint8 and AttribType::Int16.
* Unpacking code must be implemented inside vertex shader.
*/
alias da_bgfx_vertex_layout_add = bgfx_vertex_layout_t* function(bgfx_vertex_layout_t* _this, bgfx_attrib_t _attrib, byte _num, bgfx_attrib_type_t _type, bool _normalized, bool _asInt);
alias da_bgfx_vertex_layout_add = bgfx_vertex_layout_t* function(bgfx_vertex_layout_t* _this, bgfx_attrib_t _attrib, ubyte _num, bgfx_attrib_type_t _type, bool _normalized, bool _asInt);
da_bgfx_vertex_layout_add bgfx_vertex_layout_add;
/**
@ -2204,7 +2204,7 @@ else
* _normalized = Attribute is normalized.
* _asInt = Attribute is packed as int.
*/
alias da_bgfx_vertex_layout_decode = void function(const(bgfx_vertex_layout_t)* _this, bgfx_attrib_t _attrib, byte* _num, bgfx_attrib_type_t* _type, bool* _normalized, bool* _asInt);
alias da_bgfx_vertex_layout_decode = void function(const(bgfx_vertex_layout_t)* _this, bgfx_attrib_t _attrib, ubyte* _num, bgfx_attrib_type_t* _type, bool* _normalized, bool* _asInt);
da_bgfx_vertex_layout_decode bgfx_vertex_layout_decode;
/**
@ -2220,7 +2220,7 @@ else
* Params:
* _num = Number of bytes to skip.
*/
alias da_bgfx_vertex_layout_skip = bgfx_vertex_layout_t* function(bgfx_vertex_layout_t* _this, byte _num);
alias da_bgfx_vertex_layout_skip = bgfx_vertex_layout_t* function(bgfx_vertex_layout_t* _this, ubyte _num);
da_bgfx_vertex_layout_skip bgfx_vertex_layout_skip;
/**
@ -2323,7 +2323,7 @@ else
* _max = Maximum number of elements in _enum array.
* _enum = Array where supported renderers will be written.
*/
alias da_bgfx_get_supported_renderers = byte function(byte _max, bgfx_renderer_type_t* _enum);
alias da_bgfx_get_supported_renderers = ubyte function(ubyte _max, bgfx_renderer_type_t* _enum);
da_bgfx_get_supported_renderers bgfx_get_supported_renderers;
/**
@ -2479,7 +2479,7 @@ else
* _attr = Background color.
* _small = Default 8x16 or 8x8 font.
*/
alias da_bgfx_dbg_text_clear = void function(byte _attr, bool _small);
alias da_bgfx_dbg_text_clear = void function(ubyte _attr, bool _small);
da_bgfx_dbg_text_clear bgfx_dbg_text_clear;
/**
@ -2491,7 +2491,7 @@ else
* 4-bits represent foreground color from standard VGA text palette (ANSI escape codes).
* _format = `printf` style format.
*/
alias da_bgfx_dbg_text_printf = void function(ushort _x, ushort _y, byte _attr, const(char)* _format, ... );
alias da_bgfx_dbg_text_printf = void function(ushort _x, ushort _y, ubyte _attr, const(char)* _format, ... );
da_bgfx_dbg_text_printf bgfx_dbg_text_printf;
/**
@ -2504,7 +2504,7 @@ else
* _format = `printf` style format.
* _argList = Variable arguments list for format string.
*/
alias da_bgfx_dbg_text_vprintf = void function(ushort _x, ushort _y, byte _attr, const(char)* _format, va_list _argList);
alias da_bgfx_dbg_text_vprintf = void function(ushort _x, ushort _y, ubyte _attr, const(char)* _format, va_list _argList);
da_bgfx_dbg_text_vprintf bgfx_dbg_text_vprintf;
/**
@ -2915,7 +2915,7 @@ else
* _num = Number of attachments.
* _attachment = Attachment texture info. See: `bgfx::Attachment`.
*/
alias da_bgfx_is_frame_buffer_valid = bool function(byte _num, const(bgfx_attachment_t)* _attachment);
alias da_bgfx_is_frame_buffer_valid = bool function(ubyte _num, const(bgfx_attachment_t)* _attachment);
da_bgfx_is_frame_buffer_valid bgfx_is_frame_buffer_valid;
/**
@ -2946,7 +2946,7 @@ else
* _skip = Skip top level mips when parsing texture.
* _info = When non-`NULL` is specified it returns parsed texture information.
*/
alias da_bgfx_create_texture = bgfx_texture_handle_t function(const(bgfx_memory_t)* _mem, ulong _flags, byte _skip, bgfx_texture_info_t* _info);
alias da_bgfx_create_texture = bgfx_texture_handle_t function(const(bgfx_memory_t)* _mem, ulong _flags, ubyte _skip, bgfx_texture_info_t* _info);
da_bgfx_create_texture bgfx_create_texture;
/**
@ -3047,7 +3047,7 @@ else
* _pitch = Pitch of input image (bytes). When _pitch is set to
* UINT16_MAX, it will be calculated internally based on _width.
*/
alias da_bgfx_update_texture_2d = void function(bgfx_texture_handle_t _handle, ushort _layer, byte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch);
alias da_bgfx_update_texture_2d = void function(bgfx_texture_handle_t _handle, ushort _layer, ubyte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch);
da_bgfx_update_texture_2d bgfx_update_texture_2d;
/**
@ -3064,7 +3064,7 @@ else
* _depth = Depth of texture block.
* _mem = Texture update data.
*/
alias da_bgfx_update_texture_3d = void function(bgfx_texture_handle_t _handle, byte _mip, ushort _x, ushort _y, ushort _z, ushort _width, ushort _height, ushort _depth, const(bgfx_memory_t)* _mem);
alias da_bgfx_update_texture_3d = void function(bgfx_texture_handle_t _handle, ubyte _mip, ushort _x, ushort _y, ushort _z, ushort _width, ushort _height, ushort _depth, const(bgfx_memory_t)* _mem);
da_bgfx_update_texture_3d bgfx_update_texture_3d;
/**
@ -3100,7 +3100,7 @@ else
* _pitch = Pitch of input image (bytes). When _pitch is set to
* UINT16_MAX, it will be calculated internally based on _width.
*/
alias da_bgfx_update_texture_cube = void function(bgfx_texture_handle_t _handle, ushort _layer, byte _side, byte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch);
alias da_bgfx_update_texture_cube = void function(bgfx_texture_handle_t _handle, ushort _layer, ubyte _side, ubyte _mip, ushort _x, ushort _y, ushort _width, ushort _height, const(bgfx_memory_t)* _mem, ushort _pitch);
da_bgfx_update_texture_cube bgfx_update_texture_cube;
/**
@ -3112,7 +3112,7 @@ else
* _data = Destination buffer.
* _mip = Mip level.
*/
alias da_bgfx_read_texture = uint function(bgfx_texture_handle_t _handle, void* _data, byte _mip);
alias da_bgfx_read_texture = uint function(bgfx_texture_handle_t _handle, void* _data, ubyte _mip);
da_bgfx_read_texture bgfx_read_texture;
/**
@ -3185,7 +3185,7 @@ else
* _destroyTexture = If true, textures will be destroyed when
* frame buffer is destroyed.
*/
alias da_bgfx_create_frame_buffer_from_handles = bgfx_frame_buffer_handle_t function(byte _num, const(bgfx_texture_handle_t)* _handles, bool _destroyTexture);
alias da_bgfx_create_frame_buffer_from_handles = bgfx_frame_buffer_handle_t function(ubyte _num, const(bgfx_texture_handle_t)* _handles, bool _destroyTexture);
da_bgfx_create_frame_buffer_from_handles bgfx_create_frame_buffer_from_handles;
/**
@ -3197,7 +3197,7 @@ else
* _destroyTexture = If true, textures will be destroyed when
* frame buffer is destroyed.
*/
alias da_bgfx_create_frame_buffer_from_attachment = bgfx_frame_buffer_handle_t function(byte _num, const(bgfx_attachment_t)* _attachment, bool _destroyTexture);
alias da_bgfx_create_frame_buffer_from_attachment = bgfx_frame_buffer_handle_t function(ubyte _num, const(bgfx_attachment_t)* _attachment, bool _destroyTexture);
da_bgfx_create_frame_buffer_from_attachment bgfx_create_frame_buffer_from_attachment;
/**
@ -3231,7 +3231,7 @@ else
* Params:
* _handle = Frame buffer handle.
*/
alias da_bgfx_get_texture = bgfx_texture_handle_t function(bgfx_frame_buffer_handle_t _handle, byte _attachment);
alias da_bgfx_get_texture = bgfx_texture_handle_t function(bgfx_frame_buffer_handle_t _handle, ubyte _attachment);
da_bgfx_get_texture bgfx_get_texture;
/**
@ -3321,7 +3321,7 @@ else
* _index = Index into palette.
* _rgba = RGBA floating point values.
*/
alias da_bgfx_set_palette_color = void function(byte _index, const float[4] _rgba);
alias da_bgfx_set_palette_color = void function(ubyte _index, const float[4] _rgba);
da_bgfx_set_palette_color bgfx_set_palette_color;
/**
@ -3330,7 +3330,7 @@ else
* _index = Index into palette.
* _rgba = Packed 32-bit RGBA value.
*/
alias da_bgfx_set_palette_color_rgba8 = void function(byte _index, uint _rgba);
alias da_bgfx_set_palette_color_rgba8 = void function(ubyte _index, uint _rgba);
da_bgfx_set_palette_color_rgba8 bgfx_set_palette_color_rgba8;
/**
@ -3396,7 +3396,7 @@ else
* _depth = Depth clear value.
* _stencil = Stencil clear value.
*/
alias da_bgfx_set_view_clear = void function(bgfx_view_id_t _id, ushort _flags, uint _rgba, float _depth, byte _stencil);
alias da_bgfx_set_view_clear = void function(bgfx_view_id_t _id, ushort _flags, uint _rgba, float _depth, ubyte _stencil);
da_bgfx_set_view_clear bgfx_set_view_clear;
/**
@ -3418,7 +3418,7 @@ else
* _c6 = Palette index for frame buffer attachment 6.
* _c7 = Palette index for frame buffer attachment 7.
*/
alias da_bgfx_set_view_clear_mrt = void function(bgfx_view_id_t _id, ushort _flags, float _depth, byte _stencil, byte _c0, byte _c1, byte _c2, byte _c3, byte _c4, byte _c5, byte _c6, byte _c7);
alias da_bgfx_set_view_clear_mrt = void function(bgfx_view_id_t _id, ushort _flags, float _depth, ubyte _stencil, ubyte _c0, ubyte _c1, ubyte _c2, ubyte _c3, ubyte _c4, ubyte _c5, ubyte _c6, ubyte _c7);
da_bgfx_set_view_clear_mrt bgfx_set_view_clear_mrt;
/**
@ -3646,7 +3646,7 @@ else
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
alias da_bgfx_encoder_set_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
alias da_bgfx_encoder_set_vertex_buffer = void function(bgfx_encoder_t* _this, ubyte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
da_bgfx_encoder_set_vertex_buffer bgfx_encoder_set_vertex_buffer;
/**
@ -3660,7 +3660,7 @@ else
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
alias da_bgfx_encoder_set_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
alias da_bgfx_encoder_set_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, ubyte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
da_bgfx_encoder_set_vertex_buffer_with_layout bgfx_encoder_set_vertex_buffer_with_layout;
/**
@ -3671,10 +3671,10 @@ else
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
alias da_bgfx_encoder_set_dynamic_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
alias da_bgfx_encoder_set_dynamic_vertex_buffer = void function(bgfx_encoder_t* _this, ubyte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
da_bgfx_encoder_set_dynamic_vertex_buffer bgfx_encoder_set_dynamic_vertex_buffer;
alias da_bgfx_encoder_set_dynamic_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
alias da_bgfx_encoder_set_dynamic_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, ubyte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
da_bgfx_encoder_set_dynamic_vertex_buffer_with_layout bgfx_encoder_set_dynamic_vertex_buffer_with_layout;
/**
@ -3685,7 +3685,7 @@ else
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
alias da_bgfx_encoder_set_transient_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices);
alias da_bgfx_encoder_set_transient_vertex_buffer = void function(bgfx_encoder_t* _this, ubyte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices);
da_bgfx_encoder_set_transient_vertex_buffer bgfx_encoder_set_transient_vertex_buffer;
/**
@ -3699,7 +3699,7 @@ else
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
alias da_bgfx_encoder_set_transient_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
alias da_bgfx_encoder_set_transient_vertex_buffer_with_layout = void function(bgfx_encoder_t* _this, ubyte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
da_bgfx_encoder_set_transient_vertex_buffer_with_layout bgfx_encoder_set_transient_vertex_buffer_with_layout;
/**
@ -3764,7 +3764,7 @@ else
* - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
* sampling.
*/
alias da_bgfx_encoder_set_texture = void function(bgfx_encoder_t* _this, byte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags);
alias da_bgfx_encoder_set_texture = void function(bgfx_encoder_t* _this, ubyte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags);
da_bgfx_encoder_set_texture bgfx_encoder_set_texture;
/**
@ -3788,7 +3788,7 @@ else
* _depth = Depth for sorting.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_encoder_submit = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, byte _flags);
alias da_bgfx_encoder_submit = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, ubyte _flags);
da_bgfx_encoder_submit bgfx_encoder_submit;
/**
@ -3800,7 +3800,7 @@ else
* _depth = Depth for sorting.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_encoder_submit_occlusion_query = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags);
alias da_bgfx_encoder_submit_occlusion_query = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, ubyte _flags);
da_bgfx_encoder_submit_occlusion_query bgfx_encoder_submit_occlusion_query;
/**
@ -3815,7 +3815,7 @@ else
* _depth = Depth for sorting.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_encoder_submit_indirect = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, byte _flags);
alias da_bgfx_encoder_submit_indirect = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, ubyte _flags);
da_bgfx_encoder_submit_indirect bgfx_encoder_submit_indirect;
/**
@ -3825,7 +3825,7 @@ else
* _handle = Index buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_encoder_set_compute_index_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_encoder_set_compute_index_buffer = void function(bgfx_encoder_t* _this, ubyte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_encoder_set_compute_index_buffer bgfx_encoder_set_compute_index_buffer;
/**
@ -3835,7 +3835,7 @@ else
* _handle = Vertex buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_encoder_set_compute_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_encoder_set_compute_vertex_buffer = void function(bgfx_encoder_t* _this, ubyte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_encoder_set_compute_vertex_buffer bgfx_encoder_set_compute_vertex_buffer;
/**
@ -3845,7 +3845,7 @@ else
* _handle = Dynamic index buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_encoder_set_compute_dynamic_index_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_encoder_set_compute_dynamic_index_buffer = void function(bgfx_encoder_t* _this, ubyte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_encoder_set_compute_dynamic_index_buffer bgfx_encoder_set_compute_dynamic_index_buffer;
/**
@ -3855,7 +3855,7 @@ else
* _handle = Dynamic vertex buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_encoder_set_compute_dynamic_vertex_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_encoder_set_compute_dynamic_vertex_buffer = void function(bgfx_encoder_t* _this, ubyte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_encoder_set_compute_dynamic_vertex_buffer bgfx_encoder_set_compute_dynamic_vertex_buffer;
/**
@ -3865,7 +3865,7 @@ else
* _handle = Indirect buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_encoder_set_compute_indirect_buffer = void function(bgfx_encoder_t* _this, byte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_encoder_set_compute_indirect_buffer = void function(bgfx_encoder_t* _this, ubyte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_encoder_set_compute_indirect_buffer bgfx_encoder_set_compute_indirect_buffer;
/**
@ -3877,7 +3877,7 @@ else
* _access = Image access. See `Access::Enum`.
* _format = Texture format. See: `TextureFormat::Enum`.
*/
alias da_bgfx_encoder_set_image = void function(bgfx_encoder_t* _this, byte _stage, bgfx_texture_handle_t _handle, byte _mip, bgfx_access_t _access, bgfx_texture_format_t _format);
alias da_bgfx_encoder_set_image = void function(bgfx_encoder_t* _this, ubyte _stage, bgfx_texture_handle_t _handle, ubyte _mip, bgfx_access_t _access, bgfx_texture_format_t _format);
da_bgfx_encoder_set_image bgfx_encoder_set_image;
/**
@ -3890,7 +3890,7 @@ else
* _numZ = Number of groups Z.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_encoder_dispatch = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, byte _flags);
alias da_bgfx_encoder_dispatch = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, ubyte _flags);
da_bgfx_encoder_dispatch bgfx_encoder_dispatch;
/**
@ -3903,7 +3903,7 @@ else
* _num = Number of dispatches.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_encoder_dispatch_indirect = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, byte _flags);
alias da_bgfx_encoder_dispatch_indirect = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, ubyte _flags);
da_bgfx_encoder_dispatch_indirect bgfx_encoder_dispatch_indirect;
/**
@ -3911,7 +3911,7 @@ else
* Params:
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_encoder_discard = void function(bgfx_encoder_t* _this, byte _flags);
alias da_bgfx_encoder_discard = void function(bgfx_encoder_t* _this, ubyte _flags);
da_bgfx_encoder_discard bgfx_encoder_discard;
/**
@ -3939,7 +3939,7 @@ else
* _depth = If texture is 3D this argument represents depth of region, otherwise it's
* unused.
*/
alias da_bgfx_encoder_blit = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_texture_handle_t _dst, byte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, byte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth);
alias da_bgfx_encoder_blit = void function(bgfx_encoder_t* _this, bgfx_view_id_t _id, bgfx_texture_handle_t _dst, ubyte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, ubyte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth);
da_bgfx_encoder_blit bgfx_encoder_blit;
/**
@ -4022,7 +4022,7 @@ else
* - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
* sampling.
*/
alias da_bgfx_override_internal_texture = ulong function(bgfx_texture_handle_t _handle, ushort _width, ushort _height, byte _numMips, bgfx_texture_format_t _format, ulong _flags);
alias da_bgfx_override_internal_texture = ulong function(bgfx_texture_handle_t _handle, ushort _width, ushort _height, ubyte _numMips, bgfx_texture_format_t _format, ulong _flags);
da_bgfx_override_internal_texture bgfx_override_internal_texture;
/**
@ -4182,7 +4182,7 @@ else
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
alias da_bgfx_set_vertex_buffer = void function(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
alias da_bgfx_set_vertex_buffer = void function(ubyte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
da_bgfx_set_vertex_buffer bgfx_set_vertex_buffer;
/**
@ -4196,7 +4196,7 @@ else
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
alias da_bgfx_set_vertex_buffer_with_layout = void function(byte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
alias da_bgfx_set_vertex_buffer_with_layout = void function(ubyte _stream, bgfx_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
da_bgfx_set_vertex_buffer_with_layout bgfx_set_vertex_buffer_with_layout;
/**
@ -4207,7 +4207,7 @@ else
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
alias da_bgfx_set_dynamic_vertex_buffer = void function(byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
alias da_bgfx_set_dynamic_vertex_buffer = void function(ubyte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices);
da_bgfx_set_dynamic_vertex_buffer bgfx_set_dynamic_vertex_buffer;
/**
@ -4221,7 +4221,7 @@ else
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
alias da_bgfx_set_dynamic_vertex_buffer_with_layout = void function(byte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
alias da_bgfx_set_dynamic_vertex_buffer_with_layout = void function(ubyte _stream, bgfx_dynamic_vertex_buffer_handle_t _handle, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
da_bgfx_set_dynamic_vertex_buffer_with_layout bgfx_set_dynamic_vertex_buffer_with_layout;
/**
@ -4232,7 +4232,7 @@ else
* _startVertex = First vertex to render.
* _numVertices = Number of vertices to render.
*/
alias da_bgfx_set_transient_vertex_buffer = void function(byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices);
alias da_bgfx_set_transient_vertex_buffer = void function(ubyte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices);
da_bgfx_set_transient_vertex_buffer bgfx_set_transient_vertex_buffer;
/**
@ -4246,7 +4246,7 @@ else
* handle is used, vertex layout used for creation
* of vertex buffer will be used.
*/
alias da_bgfx_set_transient_vertex_buffer_with_layout = void function(byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
alias da_bgfx_set_transient_vertex_buffer_with_layout = void function(ubyte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle);
da_bgfx_set_transient_vertex_buffer_with_layout bgfx_set_transient_vertex_buffer_with_layout;
/**
@ -4311,7 +4311,7 @@ else
* - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
* sampling.
*/
alias da_bgfx_set_texture = void function(byte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags);
alias da_bgfx_set_texture = void function(ubyte _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint _flags);
da_bgfx_set_texture bgfx_set_texture;
/**
@ -4333,7 +4333,7 @@ else
* _depth = Depth for sorting.
* _flags = Which states to discard for next draw. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_submit = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, byte _flags);
alias da_bgfx_submit = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _depth, ubyte _flags);
da_bgfx_submit bgfx_submit;
/**
@ -4345,7 +4345,7 @@ else
* _depth = Depth for sorting.
* _flags = Which states to discard for next draw. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_submit_occlusion_query = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, byte _flags);
alias da_bgfx_submit_occlusion_query = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_occlusion_query_handle_t _occlusionQuery, uint _depth, ubyte _flags);
da_bgfx_submit_occlusion_query bgfx_submit_occlusion_query;
/**
@ -4360,7 +4360,7 @@ else
* _depth = Depth for sorting.
* _flags = Which states to discard for next draw. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_submit_indirect = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, byte _flags);
alias da_bgfx_submit_indirect = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, uint _depth, ubyte _flags);
da_bgfx_submit_indirect bgfx_submit_indirect;
/**
@ -4370,7 +4370,7 @@ else
* _handle = Index buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_set_compute_index_buffer = void function(byte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_set_compute_index_buffer = void function(ubyte _stage, bgfx_index_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_set_compute_index_buffer bgfx_set_compute_index_buffer;
/**
@ -4380,7 +4380,7 @@ else
* _handle = Vertex buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_set_compute_vertex_buffer = void function(byte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_set_compute_vertex_buffer = void function(ubyte _stage, bgfx_vertex_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_set_compute_vertex_buffer bgfx_set_compute_vertex_buffer;
/**
@ -4390,7 +4390,7 @@ else
* _handle = Dynamic index buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_set_compute_dynamic_index_buffer = void function(byte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_set_compute_dynamic_index_buffer = void function(ubyte _stage, bgfx_dynamic_index_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_set_compute_dynamic_index_buffer bgfx_set_compute_dynamic_index_buffer;
/**
@ -4400,7 +4400,7 @@ else
* _handle = Dynamic vertex buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_set_compute_dynamic_vertex_buffer = void function(byte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_set_compute_dynamic_vertex_buffer = void function(ubyte _stage, bgfx_dynamic_vertex_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_set_compute_dynamic_vertex_buffer bgfx_set_compute_dynamic_vertex_buffer;
/**
@ -4410,7 +4410,7 @@ else
* _handle = Indirect buffer handle.
* _access = Buffer access. See `Access::Enum`.
*/
alias da_bgfx_set_compute_indirect_buffer = void function(byte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access);
alias da_bgfx_set_compute_indirect_buffer = void function(ubyte _stage, bgfx_indirect_buffer_handle_t _handle, bgfx_access_t _access);
da_bgfx_set_compute_indirect_buffer bgfx_set_compute_indirect_buffer;
/**
@ -4422,7 +4422,7 @@ else
* _access = Image access. See `Access::Enum`.
* _format = Texture format. See: `TextureFormat::Enum`.
*/
alias da_bgfx_set_image = void function(byte _stage, bgfx_texture_handle_t _handle, byte _mip, bgfx_access_t _access, bgfx_texture_format_t _format);
alias da_bgfx_set_image = void function(ubyte _stage, bgfx_texture_handle_t _handle, ubyte _mip, bgfx_access_t _access, bgfx_texture_format_t _format);
da_bgfx_set_image bgfx_set_image;
/**
@ -4435,7 +4435,7 @@ else
* _numZ = Number of groups Z.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_dispatch = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, byte _flags);
alias da_bgfx_dispatch = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, uint _numX, uint _numY, uint _numZ, ubyte _flags);
da_bgfx_dispatch bgfx_dispatch;
/**
@ -4448,7 +4448,7 @@ else
* _num = Number of dispatches.
* _flags = Discard or preserve states. See `BGFX_DISCARD_*`.
*/
alias da_bgfx_dispatch_indirect = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, byte _flags);
alias da_bgfx_dispatch_indirect = void function(bgfx_view_id_t _id, bgfx_program_handle_t _program, bgfx_indirect_buffer_handle_t _indirectHandle, ushort _start, ushort _num, ubyte _flags);
da_bgfx_dispatch_indirect bgfx_dispatch_indirect;
/**
@ -4456,7 +4456,7 @@ else
* Params:
* _flags = Draw/compute states to discard.
*/
alias da_bgfx_discard = void function(byte _flags);
alias da_bgfx_discard = void function(ubyte _flags);
da_bgfx_discard bgfx_discard;
/**
@ -4484,7 +4484,7 @@ else
* _depth = If texture is 3D this argument represents depth of region, otherwise it's
* unused.
*/
alias da_bgfx_blit = void function(bgfx_view_id_t _id, bgfx_texture_handle_t _dst, byte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, byte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth);
alias da_bgfx_blit = void function(bgfx_view_id_t _id, bgfx_texture_handle_t _dst, ubyte _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, bgfx_texture_handle_t _src, ubyte _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth);
da_bgfx_blit bgfx_blit;
}

View File

@ -746,7 +746,7 @@ struct bgfx_caps_t
ushort deviceId; /// Selected GPU device id.
bool homogeneousDepth; /// True when NDC depth is in [-1, 1] range, otherwise its [0, 1].
bool originBottomLeft; /// True when NDC origin is at bottom left.
byte numGPUs; /// Number of enumerated GPUs.
ubyte numGPUs; /// Number of enumerated GPUs.
bgfx_caps_gpu_t[4] gpu; /// Enumerated GPUs.
bgfx_caps_limits_t limits; /// Renderer runtime limits.
@ -817,8 +817,8 @@ struct bgfx_resolution_t
uint width; /// Backbuffer width.
uint height; /// Backbuffer height.
uint reset; /// Reset parameters.
byte numBackBuffers; /// Number of back buffers.
byte maxFrameLatency; /// Maximum frame latency.
ubyte numBackBuffers; /// Number of back buffers.
ubyte maxFrameLatency; /// Maximum frame latency.
}
/// Configurable runtime limits parameters.
@ -884,14 +884,14 @@ struct bgfx_init_t
*/
struct bgfx_memory_t
{
byte* data; /// Pointer to data.
ubyte* data; /// Pointer to data.
uint size; /// Data size.
}
/// Transient index buffer.
struct bgfx_transient_index_buffer_t
{
byte* data; /// Pointer to data.
ubyte* data; /// Pointer to data.
uint size; /// Data size.
uint startIndex; /// First index.
bgfx_index_buffer_handle_t handle; /// Index buffer handle.
@ -901,7 +901,7 @@ struct bgfx_transient_index_buffer_t
/// Transient vertex buffer.
struct bgfx_transient_vertex_buffer_t
{
byte* data; /// Pointer to data.
ubyte* data; /// Pointer to data.
uint size; /// Data size.
uint startVertex; /// First vertex.
ushort stride; /// Vertex stride.
@ -912,7 +912,7 @@ struct bgfx_transient_vertex_buffer_t
/// Instance data buffer info.
struct bgfx_instance_data_buffer_t
{
byte* data; /// Pointer to data.
ubyte* data; /// Pointer to data.
uint size; /// Data size.
uint offset; /// Offset in vertex buffer.
uint num; /// Number of instances.
@ -929,8 +929,8 @@ struct bgfx_texture_info_t
ushort height; /// Texture height.
ushort depth; /// Texture depth.
ushort numLayers; /// Number of layers in texture array.
byte numMips; /// Number of MIP maps.
byte bitsPerPixel; /// Format bits per pixel.
ubyte numMips; /// Number of MIP maps.
ubyte bitsPerPixel; /// Format bits per pixel.
bool cubeMap; /// Texture is cubemap.
}
@ -950,7 +950,7 @@ struct bgfx_attachment_t
ushort mip; /// Mip level.
ushort layer; /// Cubemap side or depth layer/slice to use.
ushort numLayers; /// Number of texture layer/slice(s) in array to use.
byte resolve; /// Resolve flags. See: `BGFX_RESOLVE_*`
ubyte resolve; /// Resolve flags. See: `BGFX_RESOLVE_*`
}
/// Transform data.
@ -1022,7 +1022,7 @@ struct bgfx_stats_t
ushort textHeight; /// Debug text height in characters.
ushort numViews; /// Number of view stats.
bgfx_view_stats_t* viewStats; /// Array of View stats.
byte numEncoders; /// Number of encoders used during frame.
ubyte numEncoders; /// Number of encoders used during frame.
bgfx_encoder_stats_t* encoderStats; /// Array of encoder stats.
}