Module meshopt::ffi[][src]

Structs

_Mbstatet
__crt_locale_data
__crt_locale_data_public
__crt_locale_pointers
__crt_multibyte_data
meshopt_OverdrawStatistics
meshopt_VertexCacheStatistics
meshopt_VertexFetchStatistics

Constants

MESHOPTIMIZER_VERSION
_ARGMAX
_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE
_CRT_BUILD_DESKTOP_APP
_CRT_FUNCTIONS_REQUIRED
_CRT_HAS_CXX17
_CRT_INT_MAX
_CRT_PACKING
_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES
_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY
_HAS_EXCEPTIONS
_SAL_VERSION
_SECURECRT_FILL_BUFFER_PATTERN
_USE_ATTRIBUTES_FOR_SAL
_USE_DECLSPECS_FOR_SAL
__GOT_SECURE_LIB__
__SAL_H_VERSION
__STDC_SECURE_LIB__
__STDC_WANT_SECURE_LIB__

Statics

__security_cookie

Functions

__report_gsfailure
__security_check_cookie
__security_init_cookie
__threadhandle
__threadid
__va_start
_errno
_get_errno
_invalid_parameter_noinfo
_invalid_parameter_noinfo_noreturn
_invoke_watson
_set_errno
_wassert
meshopt_analyzeOverdraw

Overdraw analyzer Returns overdraw statistics using a software rasterizer Results may not match actual GPU performance

meshopt_analyzeVertexCache

Vertex transform cache analyzer Returns cache hit statistics using a simplified FIFO model Results may not match actual GPU performance

meshopt_analyzeVertexFetch

Vertex fetch cache analyzer Returns cache hit statistics using a simplified direct mapped model Results may not match actual GPU performance

meshopt_decodeIndexBuffer

Index buffer decoder Decodes index data from an array of bytes generated by meshopt_encodeIndexBuffer Returns 0 if decoding was successful, and an error code otherwise

meshopt_decodeVertexBuffer

Vertex buffer decoder Decodes vertex data from an array of bytes generated by meshopt_encodeVertexBuffer Returns 0 if decoding was successful, and an error code otherwise

meshopt_encodeIndexBuffer

Index buffer encoder Encodes index data into an array of bytes that is generally much smaller (<1.5 bytes/triangle) and compresses better (<1 bytes/triangle) compared to original. Returns encoded data size on success, 0 on error; the only error condition is if buffer doesn't have enough space For maximum efficiency the index buffer being encoded has to be optimized for vertex cache and vertex fetch first.

meshopt_encodeIndexBufferBound
meshopt_encodeVertexBuffer

Vertex buffer encoder Encodes vertex data into an array of bytes that is generally smaller and compresses better compared to original. Returns encoded data size on success, 0 on error

meshopt_encodeVertexBufferBound
meshopt_generateVertexRemap

Generates a vertex remap table from the vertex buffer and an optional index buffer and returns number of unique vertices As a result, all vertices that are binary equivalent map to the same (new) location, with no gaps in the resulting sequence.

meshopt_optimizeOverdraw

Overdraw optimizer Reorders indices to reduce the number of GPU vertex shader invocations and the pixel overdraw

meshopt_optimizeVertexCache

Vertex transform cache optimizer Reorders indices to reduce the number of GPU vertex shader invocations

meshopt_optimizeVertexCacheFifo

Vertex transform cache optimizer for FIFO caches Reorders indices to reduce the number of GPU vertex shader invocations Generally takes ~3x less time to optimize meshes but produces inferior results compared to meshopt_optimizeVertexCache

meshopt_optimizeVertexFetch

Vertex fetch cache optimizer Reorders vertices and changes indices to reduce the amount of GPU memory fetches during vertex processing

meshopt_optimizeVertexFetchRemap

Vertex fetch cache optimizer Generates vertex remap to reduce the amount of GPU memory fetches during vertex processing The resulting remap table should be used to reorder vertex/index buffers using meshopt_remapVertexBuffer/meshopt_remapIndexBuffer

meshopt_remapIndexBuffer

Generate index buffer from the source index buffer and remap table generated by generateVertexRemap

meshopt_remapVertexBuffer

Generates vertex buffer from the source vertex buffer and remap table generated by generateVertexRemap

meshopt_simplify

Experimental: Mesh simplifier Reduces the number of triangles in the mesh, attempting to preserve mesh appearance as much as possible Returns the number of indices after simplification, with destination containing new index data

meshopt_stripify

Mesh stripifier Converts a previously vertex cache optimized triangle list to triangle strip, stitching strips using restart index Returns the number of indices in the resulting strip, with destination containing new index data For maximum efficiency the index buffer being converted has to be optimized for vertex cache first.

meshopt_unstripify

Mesh unstripifier Converts a triangle strip to a triangle list Returns the number of indices in the resulting list, with destination containing new index data

Type Definitions

__crt_bool
__time32_t
__time64_t
__vcrt_bool
_locale_t
errno_t
mbstate_t
rsize_t
time_t
va_list
wchar_t
wctype_t
wint_t