Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GraphicsResourceMap Struct

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Structured returned by .

    public struct GraphicsResourceMap
    Name Description
    Fields
    DataPointer

    Pointer to the data of the GraphicsResource being mapped into the CPU memory.

    DepthPitch

    The depth pitch, or width, or physical size (in bytes)of the data.

    RowPitch

    The row pitch, or width, or physical size (in bytes) of the data.

    | Improve this Doc View Source

    Fields


    DataPointer

    Pointer to the data of the GraphicsResource being mapped into the CPU memory.

    public IntPtr DataPointer
    Field Value
    Type Description
    System.IntPtr
    Remarks

    If GraphicsProfile is set to low, data are aligned to 4 bytes else alignment is 16 bytes.


    DepthPitch

    The depth pitch, or width, or physical size (in bytes)of the data.

    public int DepthPitch
    Field Value
    Type Description
    System.Int32

    RowPitch

    The row pitch, or width, or physical size (in bytes) of the data.

    public int RowPitch
    Field Value
    Type Description
    System.Int32

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    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