Merge pull request #74521 from clayjohn/ImageTexture3D-properties

Set properties of ImageTexture3D when creating
This commit is contained in:
Rémi Verschelde 2023-03-07 08:40:54 +01:00
commit 0f25dc2661
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 6 additions and 0 deletions

View File

@ -1232,6 +1232,12 @@ Error ImageTexture3D::create(Image::Format p_format, int p_width, int p_height,
texture = tex;
}
format = p_format;
width = p_width;
height = p_height;
depth = p_depth;
mipmaps = p_mipmaps;
return OK;
}