---
title: "TextureCodec"
url: "https://reference.aspose.com/3d/ar/java/com.aspose.threed/texturecodec/"
product: "مرجع API لـ Aspose.3D for Java"
description: "فئة لإدارة المشفرات وفك التشفير للقوام."
---


**Inheritance:**
java.lang.Object
```
public class TextureCodec
```

فئة لإدارة المشفرات وفك التشفير للقوام.
## المنشئات

| منشئ | الوصف |
| --- | --- |
| [TextureCodec()](#TextureCodec--) |  |
## الطرق

| طريقة | الوصف |
| --- | --- |
| [decode(Stream stream, boolean reverseY)](#decode-com.aspose.threed.Stream-boolean-) | فك تشفير بيانات القوام من الدفق |
| [encode(TextureData texture, Stream stream, String format)](#encode-com.aspose.threed.TextureData-com.aspose.threed.Stream-java.lang.String-) | ترميز بيانات القوام إلى الدفق باستخدام الصيغة المحددة |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getSupportedEncoderFormats()](#getSupportedEncoderFormats--) | يحصل على جميع صيغ الترميز المدعومة |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [registerCodec(ITextureCodec codec)](#registerCodec-com.aspose.threed.ITextureCodec-) | تسجيل مجموعة من مشفّرات ومفكّكات القوام |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### TextureCodec() {#TextureCodec--}
```
public TextureCodec()
```


### decode(Stream stream, boolean reverseY) {#decode-com.aspose.threed.Stream-boolean-}
```
public static TextureData decode(Stream stream, boolean reverseY)
```


فك تشفير بيانات القوام من الدفق

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| stream | [Stream](../../com.aspose.threed/stream) |  |
| reverseY | boolean |  |

**Returns:**
[TextureData](../../com.aspose.threed/texturedata)
### encode(TextureData texture, Stream stream, String format) {#encode-com.aspose.threed.TextureData-com.aspose.threed.Stream-java.lang.String-}
```
public static void encode(TextureData texture, Stream stream, String format)
```


ترميز بيانات القوام إلى الدفق باستخدام الصيغة المحددة

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| texture | [TextureData](../../com.aspose.threed/texturedata) | الملمس المراد ترميزه |
| stream | [Stream](../../com.aspose.threed/stream) | دفق الإخراج |
| تنسيق | java.lang.String | تنسيق الصورة للبيانات المشفرة، مثل png/jpg |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getSupportedEncoderFormats() {#getSupportedEncoderFormats--}
```
public static String[] getSupportedEncoderFormats()
```


يحصل على جميع صيغ الترميز المدعومة

**Returns:**
java.lang.String[]
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### registerCodec(ITextureCodec codec) {#registerCodec-com.aspose.threed.ITextureCodec-}
```
public static void registerCodec(ITextureCodec codec)
```


تسجيل مجموعة من مشفّرات ومفكّكات القوام

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| codec | [ITextureCodec](../../com.aspose.threed/itexturecodec) |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

