[]
Initializes a new instance of the Texture class.
public static Texture Create(Device device, int width, int height, int levelCount, Usage usage, Format format, Pool pool)
| Type | Name | Description |
|---|---|---|
| Device | device | |
| int | width | |
| int | height | |
| int | levelCount | |
| Usage | usage | |
| Format | format | |
| Pool | pool |
| Type | Description |
|---|---|
| Texture |
Initializes a new instance of the Texture class.
public static Texture Create(Device device, int width, int height, int levelCount, Usage usage, Format format, Pool pool, ref IntPtr sharedHandle)
| Type | Name | Description |
|---|---|---|
| Device | device | |
| int | width | |
| int | height | |
| int | levelCount | |
| Usage | usage | |
| Format | format | |
| Pool | pool | |
| IntPtr | sharedHandle |
| Type | Description |
|---|---|
| Texture |