CubemapRendererBase Class
Namespace: Stride.Rendering.Skyboxes
Assembly: Stride.Engine.dll
System.Object →
CubemapRendererBase
public abstract class CubemapRendererBase : IDisposable
|
Improve this Doc
View Source
Constructors
public CubemapRendererBase(GraphicsDevice device, int outputSize, PixelFormat outputFormat, bool needDepthStencil)
Parameters
|
Improve this Doc
View Source
Fields
Camera
public readonly CameraComponent Camera
Field Value
OutputTextureFormat
protected readonly PixelFormat OutputTextureFormat
Field Value
OutputTextureSize
protected readonly int OutputTextureSize
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Properties
DrawContext
public RenderDrawContext DrawContext { get; protected set; }
Property Value
|
Improve this Doc
View Source
Methods
Dispose()
public virtual void Dispose()
Draw(Vector3, Texture)
Render scene from a given position to a cubemap.
public void Draw(Vector3 position, Texture cubeTexture)
Parameters
DrawImpl()
protected abstract void DrawImpl()
GenerateCubemap(CubemapRendererBase, Vector3)
public static Texture GenerateCubemap(CubemapRendererBase cubemapRenderer, Vector3 position)
Parameters
Returns
Extension Methods