#[no_mangle]
pub unsafe extern "C" fn nstd_gl_texture_format_default(
surface: NSTDGLSurface,
device_handle: NSTDGLDeviceHandle
) -> NSTDGLTextureFormatExpand description
Gets the surface’s preferred format.
Parameters:
const NSTDGLSurface surface - The surface.
const NSTDGLDeviceHandle device_handle - The device handle.
Returns: NSTDGLTextureFormat texture_format - The preferred texture format.