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
MagFilter
Gets or sets a value specifying the texture magnification filter.
public TextureMagFilter MagFilter { get; set; }
Property Value
MinFilter
Gets or sets a value specifying the texture minification filter.
public TextureMinFilter MinFilter { get; set; }
Property Value
Methods
CreateResource(ResourceManager)
Creates a new cubemap texture resource.
public override Texture CreateResource(ResourceManager resourceManager)
Parameters
resourceManager
ResourceManagerThe 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.