Skip to content

RDTextureView

eduardgushchin edited this page Oct 22, 2026 · 1 revision

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

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

Overview

Describes an initial sampled image view.

Syntax

public sealed class Electron2D.RDTextureView

Remarks

The current local profile accepts matching formats and identity component mappings. Reinterpretation and nonidentity swizzles fail explicitly during creation until a native view adapter exists.

Inherits: ElectronObject

Detailed engine reference

Members

Member Kind Summary
public RDTextureView() constructor Creates the default TextureView configuration.
protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors() method
public Electron2D.RenderingDevice.DataFormat FormatOverride { get; set; } property Gets or sets the view pixel format, or Max to retain the allocation format.
public Electron2D.RenderingDevice.TextureSwizzle SwizzleA { get; set; } property Gets or sets the source of the sampled alpha component.
public Electron2D.RenderingDevice.TextureSwizzle SwizzleB { get; set; } property Gets or sets the source of the sampled blue component.
public Electron2D.RenderingDevice.TextureSwizzle SwizzleG { get; set; } property Gets or sets the source of the sampled green component.
public Electron2D.RenderingDevice.TextureSwizzle SwizzleR { get; set; } property Gets or sets the source of the sampled red component.

Member Details

RDTextureView()

Kind: constructor

public RDTextureView()

Summary

Creates the default TextureView configuration.

GetPropertyDescriptors()

Kind: method

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

FormatOverride

Kind: property

public Electron2D.RenderingDevice.DataFormat FormatOverride { get; set; }

Summary

Gets or sets the view pixel format, or Max to retain the allocation format.

Value

Initially RenderingDevice.DataFormat.Max; copied when the device creates its resource.

SwizzleA

Kind: property

public Electron2D.RenderingDevice.TextureSwizzle SwizzleA { get; set; }

Summary

Gets or sets the source of the sampled alpha component.

Value

Initially RenderingDevice.TextureSwizzle.A; copied when the device creates its resource.

SwizzleB

Kind: property

public Electron2D.RenderingDevice.TextureSwizzle SwizzleB { get; set; }

Summary

Gets or sets the source of the sampled blue component.

Value

Initially RenderingDevice.TextureSwizzle.B; copied when the device creates its resource.

SwizzleG

Kind: property

public Electron2D.RenderingDevice.TextureSwizzle SwizzleG { get; set; }

Summary

Gets or sets the source of the sampled green component.

Value

Initially RenderingDevice.TextureSwizzle.G; copied when the device creates its resource.

SwizzleR

Kind: property

public Electron2D.RenderingDevice.TextureSwizzle SwizzleR { get; set; }

Summary

Gets or sets the source of the sampled red component.

Value

Initially RenderingDevice.TextureSwizzle.R; copied when the device creates its resource.

Clone this wiki locally