Click or drag to resize

ViewportRenderingContextBindTexture Method (Int32, ImageComponent, TextureAddressingMode, FilterOption, FilterOption, FilterOption, TextureFlags, Boolean)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void BindTexture(
	int textureUnit,
	ImageComponent texture,
	TextureAddressingMode addressingMode,
	FilterOption filteringMin,
	FilterOption filteringMag,
	FilterOption filteringMip,
	TextureFlags additionalFlags = TextureFlags.None,
	bool disableAnisotropic = false
)

Parameters

textureUnit
Type: SystemInt32
texture
Type: NeoAxisImageComponent
addressingMode
Type: NeoAxisTextureAddressingMode
filteringMin
Type: NeoAxisFilterOption
filteringMag
Type: NeoAxisFilterOption
filteringMip
Type: NeoAxisFilterOption
additionalFlags (Optional)
Type: Internal.SharpBgfxTextureFlags
disableAnisotropic (Optional)
Type: SystemBoolean
See Also