Texture2DFactoryFromMemory Method (IntPtr, RasterAttributes) |
Creates a new texture from memory.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public Texture2D FromMemory(
IntPtr value,
RasterAttributes attributes
)
Public Function FromMemory (
value As IntPtr,
attributes As RasterAttributes
) As Texture2D
public:
Texture2D^ FromMemory(
IntPtr value,
RasterAttributes^ attributes
)
member FromMemory :
value : IntPtr *
attributes : RasterAttributes -> Texture2D
Parameters
- value
- Type: SystemIntPtr
A IntPtr to the memory that contains the raster data. - attributes
- Type: AGI.Foundation.Graphics.ImagingRasterAttributes
The RasterAttributes that define the texture.
Return Value
Type:
Texture2DThe
Texture2D that was created.
See Also