Skip to content

VisualShaderNodeTextureParameter

eduardgushchin edited this page Oct 22, 2026 · 1 revision

Home | API by Category | Complete API Index | API Status

Field Value
Full name Electron2D.VisualShaderNodeTextureParameter
Namespace Electron2D
Kind class
Category API Rendering

Overview

Base for named sampled-image graph parameters and their import-time image policies.

Syntax

public abstract class Electron2D.VisualShaderNodeTextureParameter

Inherits: VisualShaderNodeParameter

Detailed engine reference

Members

Member Kind Summary
protected VisualShaderNodeTextureParameter() constructor Initializes a data-image parameter with white fallback and shader-default sampling.
protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors() method
public Electron2D.VisualShaderNodeTextureParameter.ColorDefaultEnum ColorDefault { get; set; } property Gets or selects the render-only fallback color.
public Electron2D.VisualShaderNodeTextureParameter.TextureFilterEnum TextureFilter { get; set; } property Gets or selects the shader sampling filter.
public Electron2D.VisualShaderNodeTextureParameter.TextureRepeatEnum TextureRepeat { get; set; } property Gets or selects shader image wrapping.
public Electron2D.VisualShaderNodeTextureParameter.TextureSourceEnum TextureSource { get; set; } property Gets or selects parameter storage or the fragment screen producer.
public Electron2D.VisualShaderNodeTextureParameter.TextureTypeEnum TextureType { get; set; } property Gets or selects the sampled image interpretation.

Member Details

VisualShaderNodeTextureParameter()

Kind: constructor

protected VisualShaderNodeTextureParameter()

Summary

Initializes a data-image parameter with white fallback and shader-default sampling.

GetPropertyDescriptors()

Kind: method

protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors()

ColorDefault

Kind: property

public Electron2D.VisualShaderNodeTextureParameter.ColorDefaultEnum ColorDefault { get; set; }

Summary

Gets or selects the render-only fallback color.

Value

White initially; retained but ignored for normal/flow interpretations. Screen sources require White at import.

Exceptions

  • T:System.ArgumentOutOfRangeException: The selector is undefined or a nonselectable sentinel.
  • T:System.ObjectDisposedException: The node is disposed.

TextureFilter

Kind: property

public Electron2D.VisualShaderNodeTextureParameter.TextureFilterEnum TextureFilter { get; set; }

Summary

Gets or selects the shader sampling filter.

Value

Default initially; independent of CanvasItem parent sampling. An explicit Shader sampler state takes precedence.

Exceptions

  • T:System.ArgumentOutOfRangeException: The selector is undefined or a nonselectable sentinel.
  • T:System.ObjectDisposedException: The node is disposed.

TextureRepeat

Kind: property

public Electron2D.VisualShaderNodeTextureParameter.TextureRepeatEnum TextureRepeat { get; set; }

Summary

Gets or selects shader image wrapping.

Value

Default initially; independent of CanvasItem parent sampling. An explicit Shader sampler state takes precedence.

Exceptions

  • T:System.ArgumentOutOfRangeException: The selector is undefined or a nonselectable sentinel.
  • T:System.ObjectDisposedException: The node is disposed.

TextureSource

Kind: property

public Electron2D.VisualShaderNodeTextureParameter.TextureSourceEnum TextureSource { get; set; }

Summary

Gets or selects parameter storage or the fragment screen producer.

Value

None initially. Incompatible screen shape, stage or image hints reject at import.

Exceptions

  • T:System.ArgumentOutOfRangeException: The selector is undefined or a nonselectable sentinel.
  • T:System.ObjectDisposedException: The node is disposed.

TextureType

Kind: property

public Electron2D.VisualShaderNodeTextureParameter.TextureTypeEnum TextureType { get; set; }

Summary

Gets or selects the sampled image interpretation.

Value

Data initially. Normal and flow defaults apply only to ordinary images; array images fall back to white.

Exceptions

  • T:System.ArgumentOutOfRangeException: The selector is undefined or a nonselectable sentinel.
  • T:System.ObjectDisposedException: The node is disposed.

Clone this wiki locally