コード例 #1
0
 public static extern ushort bgfx_create_texture_cube(ushort size, [MarshalAs(UnmanagedType.U1)] bool hasMips, ushort numLayers, TextureFormat format, TextureFlags flags, MemoryBlock.DataPtr *mem);
コード例 #2
0
 public static extern void bgfx_update_texture_cube(ushort handle, ushort layer, CubeMapFace side, byte mip, ushort x, ushort y, ushort width, ushort height, MemoryBlock.DataPtr *memory, ushort pitch);
コード例 #3
0
 public static extern ushort bgfx_create_texture(MemoryBlock.DataPtr *mem, TextureFlags flags, byte skip, out Texture.TextureInfo info);
コード例 #4
0
 public static extern ushort bgfx_create_texture_3d(ushort width, ushort _height, ushort _depth, [MarshalAs(UnmanagedType.U1)] bool hasMips, TextureFormat format, TextureFlags flags, MemoryBlock.DataPtr *mem);
コード例 #5
0
 public static extern void bgfx_update_texture_3d(ushort handle, byte mip, ushort x, ushort y, ushort z, ushort width, ushort height, ushort depth, MemoryBlock.DataPtr *memory);
コード例 #6
0
 public static extern ushort bgfx_create_vertex_buffer(MemoryBlock.DataPtr *memory, ref VertexLayout.Data decl, BufferFlags flags);
コード例 #7
0
 public static extern void bgfx_update_dynamic_vertex_buffer(ushort handle, int startVertex, MemoryBlock.DataPtr *memory);
コード例 #8
0
 public static extern ushort bgfx_create_dynamic_index_buffer_mem(MemoryBlock.DataPtr *memory, BufferFlags flags);
コード例 #9
0
 public static extern ushort bgfx_create_shader(MemoryBlock.DataPtr *memory);