Skip to content

Cubism 5 SDK for Native R5

Latest

Choose a tag to compare

@wada-at-live2d-com wada-at-live2d-com released this 02 Apr 02:25
b802473

Added

  • Add support for rendering portrait displays on iOS samples.
  • Add support for resizing windows on iPad in iOS samples.

Changed

  • Change Vulkan samples to use CubismDeviceInfo_Vulkan instead of singletons.
  • Migrated the OpenGL and Metal iOS samples to the scene‑based lifecycle.
  • Change to use Vulkan validation layers when the CSM_DEBUG preprocessor is defined.
  • Change motion calculation order updates to be performed by CubismUpdateScheduler.
  • Change to configure the parameter IDs and settings used for target tracking in CubismLook.
  • Change Vulkan sampler settings to align with other graphics APIs.

Fixed

  • Fix a validation error on Vulkan.
  • Fix memory leak when resizing window with Metal.
  • Fix a memory leak in ViewInitialize() where _deviceToScreen and _viewMatrix were not deleted before being re-allocated in OpenGL, D3D11 and D3D9.
  • Fix a memory leak in InitializeSprite() where sprites were not deleted before being re-allocated on window resize in OpenGL.
  • Fix a memory leak in CreateShader() where shader source bytes were not released after loading in D3D11 and D3D9.
  • Fix a memory leak where CubismDirectXView singleton was not released in D3D11 and D3D9 minimum demos.
  • Fix a memory leak in D3D9 minimum demo where InitializeSprite() was called twice during device recreation.
  • Fix rendering not updating correctly after window resize when USE_RENDER_TARGET or USE_MODEL_RENDER_TARGET is enabled in OpenGL samples.
  • Fix collision detection misalignment in split-screen mode on Android.
  • Fix app state reset when entering split-screen mode on Android.
  • Remove unnecessary matrix transpose in D3D11 sprites.
  • Fix rendering process to pause in the background on Metal.
  • Fix shader regeneration to be triggered when OnSurfaceCreate is called on Android OpenGL.
  • Fix an issue where the application might not terminate correctly after resizing the window in Vulkan on Windows.