[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D9.Texture.Create

Create Method

Create(Device, int, int, int, Usage, Format, Pool)

Initializes a new instance of the Texture class.

Declaration
public static Texture Create(Device device, int width, int height, int levelCount, Usage usage, Format format, Pool pool)
Parameters
Type Name Description
Device device
int width
int height
int levelCount
Usage usage
Format format
Pool pool
Returns
Type Description
Texture

Create(Device, int, int, int, Usage, Format, Pool, ref IntPtr)

Initializes a new instance of the Texture class.

Declaration
public static Texture Create(Device device, int width, int height, int levelCount, Usage usage, Format format, Pool pool, ref IntPtr sharedHandle)
Parameters
Type Name Description
Device device
int width
int height
int levelCount
Usage usage
Format format
Pool pool
IntPtr sharedHandle
Returns
Type Description
Texture