Class CubemapRendererBase
public abstract class CubemapRendererBase : IDisposable- Inheritance
- 
      objectCubemapRendererBase
- Implements
- Derived
- Extension Methods
Constructors
CubemapRendererBase(GraphicsDevice, int, PixelFormat, bool)
public CubemapRendererBase(GraphicsDevice device, int outputSize, PixelFormat outputFormat, bool needDepthStencil)Parameters
- deviceGraphicsDevice
- outputSizeint
- outputFormatPixelFormat
- needDepthStencilbool
Fields
Camera
public readonly CameraComponent CameraField Value
OutputTextureFormat
protected readonly PixelFormat OutputTextureFormatField Value
OutputTextureSize
protected readonly int OutputTextureSizeField Value
Properties
DrawContext
public RenderDrawContext DrawContext { get; protected set; }Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
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
- cubemapRendererCubemapRendererBase
- positionVector3