Skip to content
#

metal

Here are 647 public repositories matching this topic...

BStringhamVRSK
BStringhamVRSK commented Aug 12, 2021

Problem:
After using Engine.createTextureFromKtx/jpeg/Png, I need to query the texture width and height so I can generate proper UV coordinates for font display.

Proposed solution
Expose the Texture.getWidth(), getHeight(), etc. methods to get texture information. I currently only need width and height, but I can see usage cases for many of the other "getters" available in the C++ in

enhancement good first issue web
cocos-engine

Cocos Engine is an open-source framework for building 2D & 3D real-time rendering and interactive contents, especially video games, which can be deployed to mobile, desktop and web. It is inherited from the legacy Cocos2d-x with a redesigned modern architecture. To run this engine, please download Cocos Creator.

  • Updated May 9, 2022
  • C++

Improve this page

Add a description, image, and links to the metal topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the metal topic, visit your repo's landing page and select "manage topics."

Learn more