Texture refactor
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
This commit is contained in:
@ -457,7 +457,7 @@ void ResourceFormatDDS::get_recognized_extensions(List<String> *p_extensions) co
|
||||
|
||||
bool ResourceFormatDDS::handles_type(const String &p_type) const {
|
||||
|
||||
return ClassDB::is_parent_class(p_type, "Texture");
|
||||
return ClassDB::is_parent_class(p_type, "Texture2D");
|
||||
}
|
||||
|
||||
String ResourceFormatDDS::get_resource_type(const String &p_path) const {
|
||||
|
||||
Reference in New Issue
Block a user