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
Returns
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
Returns