Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    RenderTextureDescriptor Class

    Namespace: Stride.Rendering.RenderTextures
    Assembly: Stride.Rendering.dll
    System.Object → RenderTextureDescriptor
    Derived from RenderTextureDescriptor:

    [DataContract]
    [CategoryOrder(10, "Size")]
    [CategoryOrder(20, "Format")]
    [ContentSerializer(typeof(RenderTextureDescriptorContentSerializer))]
    [ContentSerializer(typeof(DataContentSerializer<RenderTextureDescriptor>))]
    public class RenderTextureDescriptor
    Name Description
    Properties
    ColorSpace

    Gets or sets the value indicating whether the output texture is encoded into the standard RGB color space.

    Format

    The format.

    Height

    The height in pixel.

    Width

    The width in pixel.

    | Improve this Doc View Source

    Properties


    ColorSpace

    Gets or sets the value indicating whether the output texture is encoded into the standard RGB color space.

    [Display("ColorSpace", "Format")]
    public ColorSpace ColorSpace { get; set; }
    Property Value
    Type Description
    ColorSpace

    Format

    The format.

    [Display("Format", "Format")]
    public RenderTextureFormat Format { get; set; }
    Property Value
    Type Description
    RenderTextureFormat

    Height

    The height in pixel.

    [Display(null, "Size")]
    public int Height { get; set; }
    Property Value
    Type Description
    System.Int32

    Width

    The width in pixel.

    [Display(null, "Size")]
    public int Width { get; set; }
    Property Value
    Type Description
    System.Int32

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation