(indices: *u32, index_count: u64, vertex_positions: *float, vertex_count: u64, vertex_positions_stride: u64) -> meshopt_OverdrawStatistics
#import "meshoptimizer";
Procedures#
(indices: *u32, index_count: u64, vertex_count: u64, cache_size: u32, warp_size: u32, primgroup_size: u32) -> meshopt_VertexCacheStatistics
(indices: *u32, index_count: u64, vertex_count: u64, vertex_size: u64) -> meshopt_VertexFetchStatistics
(meshlets: *meshopt_Meshlet, meshlet_vertices: *u32, meshlet_triangles: *u8, indices: *u32, index_count: u64, vertex_positions: *float, vertex_count: u64, vertex_positions_stride: u64, max_vertices: u64, max_triangles: u64, cone_weight: float) -> u64
(index_count: u64, max_vertices: u64, max_triangles: u64) -> u64
(indices: *u32, index_count: u64, vertex_positions: *float, vertex_count: u64, vertex_positions_stride: u64) -> meshopt_Bounds
(meshlet_vertices: *u32, meshlet_triangles: *u8, triangle_count: u64, vertex_positions: *float, vertex_count: u64, vertex_positions_stride: u64) -> meshopt_Bounds
(destination: *void, index_count: u64, index_size: u64, buffer: *u8, buffer_size: u64) -> s32
(destination: *void, vertex_count: u64, vertex_size: u64, buffer: *u8, buffer_size: u64) -> s32
(buffer: *u8, buffer_size: u64, indices: *u32, index_count: u64) -> u64
(index_count: u64, vertex_count: u64) -> u64
(buffer: *u8, buffer_size: u64, vertices: *void, vertex_count: u64, vertex_size: u64) -> u64
(vertex_count: u64, vertex_size: u64) -> u64
(destination: *u32, indices: *u32, index_count: u64, vertices: *void, vertex_count: u64, vertex_size: u64, vertex_stride: u64) -> void
(destination: *u32, indices: *u32, index_count: u64, vertex_count: u64, streams: *meshopt_Stream, stream_count: u64) -> void
(destination: *u32, indices: *u32, index_count: u64, vertices: *void, vertex_count: u64, vertex_size: u64) -> u64
(destination: *u32, indices: *u32, index_count: u64, vertex_count: u64, streams: *meshopt_Stream, stream_count: u64) -> u64
(destination: *u32, indices: *u32, index_count: u64, vertex_positions: *float, vertex_count: u64, vertex_positions_stride: u64, threshold: float) -> void
(destination: *u32, indices: *u32, index_count: u64, vertex_count: u64) -> void
(destination: *u32, indices: *u32, index_count: u64, vertex_count: u64, cache_size: u32) -> void
(destination: *void, indices: *u32, index_count: u64, vertices: *void, vertex_count: u64, vertex_size: u64) -> u64
(destination: *u32, indices: *u32, index_count: u64, vertex_count: u64) -> u64
(destination: *u32, indices: *u32, index_count: u64, remap: *u32) -> void
(destination: *void, vertices: *void, vertex_count: u64, vertex_size: u64, remap: *u32) -> void
(allocate: #type (a0: u64) -> *void #c_call, deallocate: #type (a0: *void) -> void #c_call) -> void
(destination: *u32, indices: *u32, index_count: u64, vertex_positions: *float, vertex_count: u64, vertex_positions_stride: u64, target_index_count: u64, target_error: float, options: u32, result_error: *float) -> u64
(destination: *u32, indices: *u32, index_count: u64, vertex_positions: *float, vertex_count: u64, vertex_positions_stride: u64, vertex_lock: *u8, target_index_count: u64, target_error: float, result_error: *float) -> u64
(destination: *u32, indices: *u32, index_count: u64, vertex_count: u64, restart_index: u32) -> u64
(index_count: u64) -> u64
(destination: *u32, indices: *u32, index_count: u64, restart_index: u32) -> u64
(index_count: u64) -> u64
Types#
:: struct
- center: [3] float
- radius: float
- cone_apex: [3] float
- cone_axis: [3] float
- cone_cutoff: float
- cone_axis_s8: [3] s8
- cone_cutoff_s8: s8
:: struct
- vertex_offset: u32
- triangle_offset: u32
- vertex_count: u32
- triangle_count: u32
:: struct
- pixels_covered: u32
- pixels_shaded: u32
- overdraw: float
:: struct
- data: *void
- size: u64
- stride: u64
:: struct
- vertices_transformed: u32
- warps_executed: u32
- acmr: float
- atvr: float
:: struct
- bytes_fetched: u32
- overfetch: float
Constants#
:: true
:: 1030