Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CubemapFromTextureRenderer Class

    Namespace: Stride.Rendering.Skyboxes
    Assembly: Stride.Engine.dll
    System.Object → CubemapRendererBase → CubemapFromTextureRenderer
    Derived from CubemapFromTextureRenderer:

    public class CubemapFromTextureRenderer : CubemapRendererBase, IDisposable
    Name Description
    Constructors
    CubemapFromTextureRenderer(IServiceRegistry, RenderDrawContext, Texture, Int32, PixelFormat)
    Methods
    DrawImpl()
    GenerateCubemap(IServiceRegistry, RenderDrawContext, Texture, Int32)
    | Improve this Doc View Source

    Constructors


    CubemapFromTextureRenderer(IServiceRegistry, RenderDrawContext, Texture, Int32, PixelFormat)

    public CubemapFromTextureRenderer(IServiceRegistry services, RenderDrawContext renderDrawContext, Texture input, int outputSize, PixelFormat outputFormat)
    Parameters
    Type Name Description
    IServiceRegistry services
    RenderDrawContext renderDrawContext
    Texture input
    System.Int32 outputSize
    PixelFormat outputFormat
    | Improve this Doc View Source

    Methods


    DrawImpl()

    protected override void DrawImpl()
    Overrides
    CubemapRendererBase.DrawImpl()

    GenerateCubemap(IServiceRegistry, RenderDrawContext, Texture, Int32)

    public static Texture GenerateCubemap(IServiceRegistry services, RenderDrawContext renderDrawContext, Texture input, int outputSize)
    Parameters
    Type Name Description
    IServiceRegistry services
    RenderDrawContext renderDrawContext
    Texture input
    System.Int32 outputSize
    Returns
    Type Description
    Texture

    Inherited Members

    CubemapRendererBase.OutputTextureSize
    CubemapRendererBase.OutputTextureFormat
    CubemapRendererBase.Camera
    CubemapRendererBase.DrawContext
    CubemapRendererBase.Dispose()
    CubemapRendererBase.Draw(Vector3, Texture)
    CubemapRendererBase.GenerateCubemap(CubemapRendererBase, Vector3)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article
    In This Article
    • Constructors
      • CubemapFromTextureRenderer(IServiceRegistry, RenderDrawContext, Texture, Int32, PixelFormat)
    • Methods
      • DrawImpl()
      • GenerateCubemap(IServiceRegistry, RenderDrawContext, Texture, Int32)
    • Inherited Members
    • Extension Methods

    Back to top

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