CubemapFromTextureRenderer Class
Namespace: Stride.Rendering.SkyboxesAssembly: Stride.Engine.dll
Derived from CubemapFromTextureRenderer:
public class CubemapFromTextureRenderer : CubemapRendererBase, IDisposable
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 |
Methods
DrawImpl()
protected override void DrawImpl()
Overrides
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 |