# TextureSampler

> Struct

Inherited Members

* [Equals(object)](https://learn.microsoft.com/dotnet/api/system.valuetype.equals)

* [GetHashCode()](https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode)

* [ToString()](https://learn.microsoft.com/dotnet/api/system.valuetype.tostring)

* [Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\))

* [GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)

* [ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

***

Namespace: UnityEngine.Pixyz.Material

```csharp
[Serializable]
public struct TextureSampler
```

## Constructors

### TextureSampler(TextureSampler)

```csharp
public TextureSampler(TextureSampler o)
```

Parameters

| Type                                        | Name | Description |
| ------------------------------------------- | ---- | ----------- |
| [TextureSampler](./material_texturesampler) | o    |             |

## Fields

### magFilter

```csharp
public int magFilter
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### minFilter

```csharp
public int minFilter
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### wrapS

```csharp
public int wrapS
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### wrapT

```csharp
public int wrapT
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |
