Click or drag to resize

ViewportRenderingContextDynamicTexture_Alloc Method (ViewportRenderingContextDynamicTextureType, ImageComponentTypeEnum, Vector2I, PixelFormat, Int32, Boolean, Int32, Int32, Boolean, Boolean)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public ImageComponent DynamicTexture_Alloc(
	ViewportRenderingContextDynamicTextureType type,
	ImageComponentTypeEnum imageType,
	Vector2I size,
	PixelFormat format,
	int fsaaLevel,
	bool mipmaps,
	int arrayLayers = 1,
	int depth3DTexture = 1,
	bool createSimple3DRenderer = false,
	bool createCanvasRenderer = false
)

Parameters

type
Type: NeoAxisViewportRenderingContextDynamicTextureType
imageType
Type: NeoAxisImageComponentTypeEnum
size
Type: NeoAxisVector2I
format
Type: NeoAxisPixelFormat
fsaaLevel
Type: SystemInt32
mipmaps
Type: SystemBoolean
arrayLayers (Optional)
Type: SystemInt32
depth3DTexture (Optional)
Type: SystemInt32
createSimple3DRenderer (Optional)
Type: SystemBoolean
createCanvasRenderer (Optional)
Type: SystemBoolean

Return Value

Type: ImageComponent
See Also