Class GPUTextureFlags
GPU texture usage flags.
Inheritance
System.Object
GPUTextureFlags
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class GPUTextureFlags : Enum
Fields
BackBuffer
Create a texture that can be used as a native window swap chain backbuffer surface.
Declaration
public const GPUTextureFlags BackBuffer
Field Value
GPUTextureFlags
|
DepthStencil
Create a texture can be bound as a depth stencil buffer.
Declaration
public const GPUTextureFlags DepthStencil
Field Value
GPUTextureFlags
|
None
PerMipViews
Create texture views per texture mip map (valid only for Texture2D with ShaderResource or RenderTarget flag).
Declaration
public const GPUTextureFlags PerMipViews
Field Value
GPUTextureFlags
|
PerSliceViews
Create texture views per texture slice map (valid only for Texture3D with ShaderResource or RenderTarget flag).
Declaration
public const GPUTextureFlags PerSliceViews
Field Value
GPUTextureFlags
|
ReadOnlyDepthView
Create read-only view for depth-stencil buffer. Valid only if texture uses depth-stencil and the graphics device supports it.
Declaration
public const GPUTextureFlags ReadOnlyDepthView
Field Value
GPUTextureFlags
|
RenderTarget
Create a texture that can be bound as a render target.
Declaration
public const GPUTextureFlags RenderTarget
Field Value
GPUTextureFlags
|
ShaderResource
Create a texture that can be bound as a shader resource.
Declaration
public const GPUTextureFlags ShaderResource
Field Value
GPUTextureFlags
|
UnorderedAccess
Create a texture can be bound as an unordered access buffer.
Declaration
public const GPUTextureFlags UnorderedAccess
Field Value
GPUTextureFlags
|
value__
Declaration
public int value__
Field Value
System.Int32
|