mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 22:23:04 +00:00
Set properties of ImageTexture3D when creating
This commit is contained in:
parent
3695fe5a57
commit
e9d80a821d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user