You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
RenderingDevice: introduce parameter 'mipmaps' for texture_create_from_extension()
This commit is contained in:
@@ -290,7 +290,7 @@ public:
|
||||
};
|
||||
|
||||
virtual TextureID texture_create(const TextureFormat &p_format, const TextureView &p_view) = 0;
|
||||
virtual TextureID texture_create_from_extension(uint64_t p_native_texture, TextureType p_type, DataFormat p_format, uint32_t p_array_layers, bool p_depth_stencil) = 0;
|
||||
virtual TextureID texture_create_from_extension(uint64_t p_native_texture, TextureType p_type, DataFormat p_format, uint32_t p_array_layers, bool p_depth_stencil, uint32_t p_mipmaps) = 0;
|
||||
// texture_create_shared_*() can only use original, non-view textures as original. RenderingDevice is responsible for ensuring that.
|
||||
virtual TextureID texture_create_shared(TextureID p_original_texture, const TextureView &p_view) = 0;
|
||||
virtual TextureID texture_create_shared_from_slice(TextureID p_original_texture, const TextureView &p_view, TextureSliceType p_slice_type, uint32_t p_layer, uint32_t p_layers, uint32_t p_mipmap, uint32_t p_mipmaps) = 0;
|
||||
|
||||
Reference in New Issue
Block a user