godot/scene/resources/texture.cpp

/**************************************************************************/
/*  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 "texture.h"

#include "scene/resources/placeholder_textures.h"

int Texture2D::get_width() const {}

int Texture2D::get_height() const {}

Size2 Texture2D::get_size() const {}

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

bool Texture2D::has_alpha() const {}

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

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

void Texture2D::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 Texture2D::get_rect_region(const Rect2 &p_rect, const Rect2 &p_src_rect, Rect2 &r_rect, Rect2 &r_src_rect) const {}

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

void Texture2D::_bind_methods() {}

Texture2D::Texture2D() {}

TypedArray<Image> Texture3D::_get_datai() const {}

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

int Texture3D::get_width() const {}

int Texture3D::get_height() const {}

int Texture3D::get_depth() const {}

bool Texture3D::has_mipmaps() const {}

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

void Texture3D::_bind_methods() {}

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

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

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

int TextureLayered::get_width() const {}

int TextureLayered::get_height() const {}

int TextureLayered::get_layers() const {}

bool TextureLayered::has_mipmaps() const {}

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

void TextureLayered::_bind_methods() {}