mirror of
https://github.com/bloeys/assimp-go.git
synced 2025-12-29 08:28:20 +00:00
Correct comments
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -14,4 +14,5 @@
|
|||||||
# Dependency directories (remove the comment below to include it)
|
# Dependency directories (remove the comment below to include it)
|
||||||
vendor/
|
vendor/
|
||||||
*.obj
|
*.obj
|
||||||
*.fbx
|
*.fbx
|
||||||
|
*.glb
|
||||||
@ -53,7 +53,7 @@ type EmbeddedTexture struct {
|
|||||||
/** A hint from the loader to make it easier for applications
|
/** A hint from the loader to make it easier for applications
|
||||||
* to determine the type of embedded textures.
|
* to determine the type of embedded textures.
|
||||||
*
|
*
|
||||||
* If mHeight != 0 this member is show how data is packed. Hint will consist of
|
* If Height != 0 this member is show how data is packed. Hint will consist of
|
||||||
* two parts: channel order and channel bitness (count of the bits for every
|
* two parts: channel order and channel bitness (count of the bits for every
|
||||||
* color channel). For simple parsing by the viewer it's better to not omit
|
* color channel). For simple parsing by the viewer it's better to not omit
|
||||||
* absent color channel and just use 0 for bitness. For example:
|
* absent color channel and just use 0 for bitness. For example:
|
||||||
@ -72,8 +72,8 @@ type EmbeddedTexture struct {
|
|||||||
FormatHint string
|
FormatHint string
|
||||||
|
|
||||||
/** Data of the texture.
|
/** Data of the texture.
|
||||||
* Points to an array of mWidth * mHeight aiTexel's (or just len=Width if Height=0, which happens when data is compressed).
|
* Points to an array of Width * Height (or just len=Width if Height=0, which happens when data is compressed, like if the data is a PNG).
|
||||||
* The format of the texture data is always RGBA8888.
|
* The format of the texture data is always ARGB8888.
|
||||||
*/
|
*/
|
||||||
Data []byte
|
Data []byte
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user