godot/scene/resources/image_texture.cpp

/**************************************************************************/
/*  image_texture.cpp                                                     */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "image_texture.h"

#include "core/io/image_loader.h"
#include "scene/resources/bit_map.h"
#include "scene/resources/placeholder_textures.h"

void ImageTexture::reload_from_file() {}

bool ImageTexture::_set(const StringName &p_name, const Variant &p_value) {}

bool ImageTexture::_get(const StringName &p_name, Variant &r_ret) const {}

void ImageTexture::_get_property_list(List<PropertyInfo> *p_list) const {}

Ref<ImageTexture> ImageTexture::create_from_image(const Ref<Image> &p_image) {}

void ImageTexture::set_image(const Ref<Image> &p_image) {}

Image::Format ImageTexture::get_format() const {}

void ImageTexture::update(const Ref<Image> &p_image) {}

Ref<Image> ImageTexture::get_image() const {}

int ImageTexture::get_width() const {}

int ImageTexture::get_height() const {}

RID ImageTexture::get_rid() const {}

bool ImageTexture::has_alpha() const {}

void ImageTexture::draw(RID p_canvas_item, const Point2 &p_pos, const Color &p_modulate, bool p_transpose) const {}

void ImageTexture::draw_rect(RID p_canvas_item, const Rect2 &p_rect, bool p_tile, const Color &p_modulate, bool p_transpose) const {}

void ImageTexture::draw_rect_region(RID p_canvas_item, const Rect2 &p_rect, const Rect2 &p_src_rect, const Color &p_modulate, bool p_transpose, bool p_clip_uv) const {}

bool ImageTexture::is_pixel_opaque(int p_x, int p_y) const {}

void ImageTexture::set_size_override(const Size2i &p_size) {}

void ImageTexture::set_path(const String &p_path, bool p_take_over) {}

void ImageTexture::_bind_methods() {}

ImageTexture::ImageTexture() {}

ImageTexture::~ImageTexture() {}

Image::Format ImageTextureLayered::get_format() const {}

int ImageTextureLayered::get_width() const {}

int ImageTextureLayered::get_height() const {}

int ImageTextureLayered::get_layers() const {}

bool ImageTextureLayered::has_mipmaps() const {}

ImageTextureLayered::LayeredType ImageTextureLayered::get_layered_type() const {}

Error ImageTextureLayered::_create_from_images(const TypedArray<Image> &p_images) {}

TypedArray<Image> ImageTextureLayered::_get_images() const {}

void ImageTextureLayered::_set_images(const TypedArray<Image> &p_images) {}

Error ImageTextureLayered::create_from_images(Vector<Ref<Image>> p_images) {}

void ImageTextureLayered::update_layer(const Ref<Image> &p_image, int p_layer) {}

Ref<Image> ImageTextureLayered::get_layer_data(int p_layer) const {}

RID ImageTextureLayered::get_rid() const {}

void ImageTextureLayered::set_path(const String &p_path, bool p_take_over) {}

void ImageTextureLayered::_bind_methods() {}

ImageTextureLayered::ImageTextureLayered(LayeredType p_layered_type) {}

ImageTextureLayered::~ImageTextureLayered() {}

Image::Format ImageTexture3D::get_format() const {}
int ImageTexture3D::get_width() const {}
int ImageTexture3D::get_height() const {}
int ImageTexture3D::get_depth() const {}
bool ImageTexture3D::has_mipmaps() const {}

Error ImageTexture3D::_create(Image::Format p_format, int p_width, int p_height, int p_depth, bool p_mipmaps, const TypedArray<Image> &p_data) {}

void ImageTexture3D::_update(const TypedArray<Image> &p_data) {}

Error ImageTexture3D::create(Image::Format p_format, int p_width, int p_height, int p_depth, bool p_mipmaps, const Vector<Ref<Image>> &p_data) {}

void ImageTexture3D::update(const Vector<Ref<Image>> &p_data) {}

Vector<Ref<Image>> ImageTexture3D::get_data() const {}

RID ImageTexture3D::get_rid() const {}
void ImageTexture3D::set_path(const String &p_path, bool p_take_over) {}

TypedArray<Image> ImageTexture3D::_get_images() const {}

void ImageTexture3D::_set_images(const TypedArray<Image> &p_images) {}

void ImageTexture3D::_bind_methods() {}

ImageTexture3D::ImageTexture3D() {}

ImageTexture3D::~ImageTexture3D() {}

void Texture2DArray::_bind_methods() {}

Ref<Resource> Texture2DArray::create_placeholder() const {}

void Cubemap::_bind_methods() {}

Ref<Resource> Cubemap::create_placeholder() const {}

void CubemapArray::_bind_methods() {}

Ref<Resource> CubemapArray::create_placeholder() const {}