Table of Contents

Class Cubemap

Namespace
Bonsai.Shaders.Configuration
Assembly
Bonsai.Shaders.dll

Provides configuration and loading functionality for cubemap texture resources.

public class Cubemap : TextureConfiguration, IResourceConfiguration
Inheritance
Cubemap
Implements
Derived
Inherited Members

Properties

FaceSize

Gets or sets the texture size for each of the cubemap faces.

public int? FaceSize { get; set; }

Property Value

int?

InternalFormat

Gets or sets a value specifying the internal pixel format of the cubemap.

public PixelInternalFormat InternalFormat { get; set; }

Property Value

PixelInternalFormat

MagFilter

Gets or sets a value specifying the texture magnification filter.

public TextureMagFilter MagFilter { get; set; }

Property Value

TextureMagFilter

MinFilter

Gets or sets a value specifying the texture minification filter.

public TextureMinFilter MinFilter { get; set; }

Property Value

TextureMinFilter

Methods

CreateResource(ResourceManager)

Creates a new cubemap texture resource.

public override Texture CreateResource(ResourceManager resourceManager)

Parameters

resourceManager ResourceManager

The ResourceManager object onto which this resource will be loaded. The resource manager can be accessed to load additional resource dependencies which may be required to create the new resource.

Returns

Texture

A new instance of the Texture class representing the cubemap texture.