Gorgon
Show / Hide Table of Contents

Class GorgonTexture2DLoadOptions

Options to pass when loading a texture from a stream or the file system.

Inheritance
object
GorgonTextureLoadOptions
GorgonTexture2DLoadOptions
Inherited Members
GorgonTextureLoadOptions.Name
GorgonTextureLoadOptions.Usage
GorgonTextureLoadOptions.Binding
GorgonTextureLoadOptions.ConvertToPremultipliedAlpha
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public class GorgonTexture2DLoadOptions : GorgonTextureLoadOptions

Properties

| Edit this page View Source

IsTextureCube

Property to set or return whether the texture is a texture cube.

Declaration
public bool? IsTextureCube { get; set; }
Property Value
Type Description
bool?
Remarks

This is for GorgonTexture2D only, and the texture must have an ArrayCount that is a multiple of 6.

Set this value to null to let the source image ImageType determine whether to use this texture as a texture cube.

| Edit this page View Source

MultisampleInfo

Property to set or return the multisampling information to apply to the texture.

Declaration
public GorgonMultisampleInfo MultisampleInfo { get; set; }
Property Value
Type Description
GorgonMultisampleInfo

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author