[]
        
(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)
Public Shared Function Create(device As Device, width As Integer, height As Integer, levelCount As Integer, usage As Usage, format As Format, pool As Pool) As Texture
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)
Public Shared Function Create(device As Device, width As Integer, height As Integer, levelCount As Integer, usage As Usage, format As Format, pool As Pool, ByRef sharedHandle As IntPtr) As Texture
Parameters
Type Name Description
Device device
int width
int height
int levelCount
Usage usage
Format format
Pool pool
IntPtr sharedHandle
Returns
Type Description
Texture