示例#1
0
 public static extern ushort bgfx_weld_vertices(ushort *output, ref VertexLayout.Data decl, IntPtr data, ushort num, float epsilon);
示例#2
0
 public static extern bool bgfx_alloc_transient_buffers(out TransientVertexBuffer tvb, ref VertexLayout.Data decl, ushort numVertices, out TransientIndexBuffer tib, ushort numIndices);
示例#3
0
 public static extern void bgfx_alloc_transient_vertex_buffer(out TransientVertexBuffer tvb, int num, ref VertexLayout.Data decl);
示例#4
0
 public static extern void bgfx_vertex_convert(ref VertexLayout.Data destDecl, IntPtr destData, ref VertexLayout.Data srcDecl, IntPtr srcData, int num);
示例#5
0
 public static extern void bgfx_vertex_pack(float *input, [MarshalAs(UnmanagedType.U1)] bool inputNormalized, VertexAttributeUsage attribute, ref VertexLayout.Data decl, IntPtr data, int index);
示例#6
0
 public static extern void bgfx_vertex_unpack(float *output, VertexAttributeUsage attribute, ref VertexLayout.Data decl, IntPtr data, int index);
示例#7
0
 public static extern ushort bgfx_create_dynamic_vertex_buffer_mem(MemoryBlock.DataPtr *memory, ref VertexLayout.Data decl, BufferFlags flags);
示例#8
0
 public static extern int bgfx_get_avail_transient_vertex_buffer(int num, ref VertexLayout.Data decl);
示例#9
0
 public static extern ushort bgfx_create_dynamic_vertex_buffer(int vertexCount, ref VertexLayout.Data decl, BufferFlags flags);
示例#10
0
 public static extern void bgfx_vertex_layout_end(ref VertexLayout.Data decl);
示例#11
0
 public static extern void bgfx_vertex_layout_skip(ref VertexLayout.Data decl, byte count);
示例#12
0
 public static extern void bgfx_vertex_layout_add(ref VertexLayout.Data decl, VertexAttributeUsage attribute, byte count, VertexAttributeType type, [MarshalAs(UnmanagedType.U1)] bool normalized, [MarshalAs(UnmanagedType.U1)] bool asInt);
示例#13
0
 public static extern void bgfx_vertex_layout_begin(ref VertexLayout.Data decl, RendererBackend backend);