Repository navigation
RDTextureView
Home | API by Category | Complete API Index | API Status
| Field | Value |
|---|---|
| Full name | Electron2D.RDTextureView |
| Namespace | Electron2D |
| Kind | class |
| Category | API Rendering |
Describes an initial sampled image view.
public sealed class Electron2D.RDTextureViewThe 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
| 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. |
Kind: constructor
public RDTextureView()Creates the default TextureView configuration.
Kind: method
protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors()Kind: property
public Electron2D.RenderingDevice.DataFormat FormatOverride { get; set; }Gets or sets the view pixel format, or Max to retain the allocation format.
Initially RenderingDevice.DataFormat.Max; copied when the device creates its resource.
Kind: property
public Electron2D.RenderingDevice.TextureSwizzle SwizzleA { get; set; }Gets or sets the source of the sampled alpha component.
Initially RenderingDevice.TextureSwizzle.A; copied when the device creates its resource.
Kind: property
public Electron2D.RenderingDevice.TextureSwizzle SwizzleB { get; set; }Gets or sets the source of the sampled blue component.
Initially RenderingDevice.TextureSwizzle.B; copied when the device creates its resource.
Kind: property
public Electron2D.RenderingDevice.TextureSwizzle SwizzleG { get; set; }Gets or sets the source of the sampled green component.
Initially RenderingDevice.TextureSwizzle.G; copied when the device creates its resource.
Kind: property
public Electron2D.RenderingDevice.TextureSwizzle SwizzleR { get; set; }Gets or sets the source of the sampled red component.
Initially RenderingDevice.TextureSwizzle.R; copied when the device creates its resource.