mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Use 32-bit arguments for indirect draw APIs.
This commit is contained in:
@@ -3981,7 +3981,7 @@ public static class bgfx
|
||||
/// <param name="_flags">Discard or preserve states. See `BGFX_DISCARD_*`.</param>
|
||||
///
|
||||
[LinkName("bgfx_encoder_submit_indirect")]
|
||||
public static extern void encoder_submit_indirect(Encoder* _this, ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint16 _start, uint16 _num, uint32 _depth, uint8 _flags);
|
||||
public static extern void encoder_submit_indirect(Encoder* _this, ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32 _start, uint32 _num, uint32 _depth, uint8 _flags);
|
||||
|
||||
/// <summary>
|
||||
/// Submit primitive for rendering with index and instance data info and
|
||||
@@ -4000,7 +4000,7 @@ public static class bgfx
|
||||
/// <param name="_flags">Discard or preserve states. See `BGFX_DISCARD_*`.</param>
|
||||
///
|
||||
[LinkName("bgfx_encoder_submit_indirect_count")]
|
||||
public static extern void encoder_submit_indirect_count(Encoder* _this, ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint16 _start, IndexBufferHandle _numHandle, uint32 _numIndex, uint16 _numMax, uint32 _depth, uint8 _flags);
|
||||
public static extern void encoder_submit_indirect_count(Encoder* _this, ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32 _start, IndexBufferHandle _numHandle, uint32 _numIndex, uint16 _numMax, uint32 _depth, uint8 _flags);
|
||||
|
||||
/// <summary>
|
||||
/// Set compute index buffer.
|
||||
@@ -4096,7 +4096,7 @@ public static class bgfx
|
||||
/// <param name="_flags">Discard or preserve states. See `BGFX_DISCARD_*`.</param>
|
||||
///
|
||||
[LinkName("bgfx_encoder_dispatch_indirect")]
|
||||
public static extern void encoder_dispatch_indirect(Encoder* _this, ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint16 _start, uint16 _num, uint8 _flags);
|
||||
public static extern void encoder_dispatch_indirect(Encoder* _this, ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32 _start, uint32 _num, uint8 _flags);
|
||||
|
||||
/// <summary>
|
||||
/// Discard previously set state for draw or compute call.
|
||||
@@ -4557,7 +4557,7 @@ public static class bgfx
|
||||
/// <param name="_flags">Which states to discard for next draw. See `BGFX_DISCARD_*`.</param>
|
||||
///
|
||||
[LinkName("bgfx_submit_indirect")]
|
||||
public static extern void submit_indirect(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint16 _start, uint16 _num, uint32 _depth, uint8 _flags);
|
||||
public static extern void submit_indirect(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32 _start, uint32 _num, uint32 _depth, uint8 _flags);
|
||||
|
||||
/// <summary>
|
||||
/// Submit primitive for rendering with index and instance data info and
|
||||
@@ -4576,7 +4576,7 @@ public static class bgfx
|
||||
/// <param name="_flags">Which states to discard for next draw. See `BGFX_DISCARD_*`.</param>
|
||||
///
|
||||
[LinkName("bgfx_submit_indirect_count")]
|
||||
public static extern void submit_indirect_count(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint16 _start, IndexBufferHandle _numHandle, uint32 _numIndex, uint16 _numMax, uint32 _depth, uint8 _flags);
|
||||
public static extern void submit_indirect_count(ViewId _id, ProgramHandle _program, IndirectBufferHandle _indirectHandle, uint32 _start, IndexBufferHandle _numHandle, uint32 _numIndex, uint16 _numMax, uint32 _depth, uint8 _flags);
|
||||
|
||||
/// <summary>
|
||||
/// Set compute index buffer.
|
||||
|
||||
Reference in New Issue
Block a user