Click or drag to resize

ViewportRenderingContextRenderTarget2D_Alloc Method

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public ImageComponent RenderTarget2D_Alloc(
	Vector2I size,
	PixelFormat format,
	int fsaaLevel = 0,
	bool mipmaps = false,
	int arrayLayers = 1,
	bool createSimple3DRenderer = false,
	bool createCanvasRenderer = false
)

Parameters

size
Type: NeoAxisVector2I
format
Type: NeoAxisPixelFormat
fsaaLevel (Optional)
Type: SystemInt32
mipmaps (Optional)
Type: SystemBoolean
arrayLayers (Optional)
Type: SystemInt32
createSimple3DRenderer (Optional)
Type: SystemBoolean
createCanvasRenderer (Optional)
Type: SystemBoolean

Return Value

Type: ImageComponent
See Also