Texture2DFactoryFromMemory Method (Byte, RasterAttributes) | 
 
Creates a new texture from memory.
 
    Namespace: 
   AGI.Foundation.Graphics.Advanced
    Assembly:
   AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic Texture2D FromMemory(
	byte[] value,
	RasterAttributes attributes
)
Public Function FromMemory ( 
	value As Byte(),
	attributes As RasterAttributes
) As Texture2D
public:
Texture2D^ FromMemory(
	array<unsigned char>^ value, 
	RasterAttributes^ attributes
)
member FromMemory : 
        value : byte[] * 
        attributes : RasterAttributes -> Texture2D 
Parameters
- value
 - Type: SystemByte
The byte array that contains the texture data. - attributes
 - Type: AGI.Foundation.Graphics.ImagingRasterAttributes
The RasterAttributes that define the texture. 
Return Value
Type: 
Texture2DThe 
Texture2D that was created.
See Also