Struct RTHandleAllocInfo
Information about the allocation of a RTHandle
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct RTHandleAllocInfo
Constructors
RTHandleAllocInfo(string)
RTHandleAllocInfo constructor.
Declaration
public RTHandleAllocInfo(string name = "")
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the RTHandle. |
Properties
anisoLevel
Anisotropic filtering level.
Declaration
public int anisoLevel { readonly get; set; }
Property Value
Type | Description |
---|---|
int |
autoGenerateMips
Set to true to automatically generate mipmaps.
Declaration
public bool autoGenerateMips { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
bindTextureMS
Set to true if the texture needs to be bound as a multisampled texture in the shader.
Declaration
public bool bindTextureMS { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
dimension
Texture dimension of the RTHandle.
Declaration
public TextureDimension dimension { readonly get; set; }
Property Value
Type | Description |
---|---|
TextureDimension |
enableRandomWrite
Set to true to enable UAV random read writes on the texture.
Declaration
public bool enableRandomWrite { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
filterMode
Filtering mode of the RTHandle.
Declaration
public FilterMode filterMode { readonly get; set; }
Property Value
Type | Description |
---|---|
FilterMode |
format
GraphicsFormat of a color buffer.
Declaration
public GraphicsFormat format { readonly get; set; }
Property Value
Type | Description |
---|---|
GraphicsFormat |
memoryless
Use this property to set the render texture memoryless modes.
Declaration
public RenderTextureMemoryless memoryless { readonly get; set; }
Property Value
Type | Description |
---|---|
RenderTextureMemoryless |
mipMapBias
Bias applied to mipmaps during filtering.
Declaration
public float mipMapBias { readonly get; set; }
Property Value
Type | Description |
---|---|
float |
msaaSamples
Number of MSAA samples for the RTHandle.
Declaration
public MSAASamples msaaSamples { readonly get; set; }
Property Value
Type | Description |
---|---|
MSAASamples |
name
Name of the RTHandle.
Declaration
public string name { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
slices
Number of slices of the RTHandle.
Declaration
public int slices { readonly get; set; }
Property Value
Type | Description |
---|---|
int |
useDynamicScale
See Dynamic Resolution documentation](https://docs.unity3d.com/Manual/DynamicResolution.html)
Declaration
public bool useDynamicScale { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
useMipMap
Set to true if the texture should have mipmaps.
Declaration
public bool useMipMap { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
vrUsage
Special treatment of the VR eye texture used in stereoscopic rendering.
Declaration
public VRTextureUsage vrUsage { readonly get; set; }
Property Value
Type | Description |
---|---|
VRTextureUsage |
wrapModeU
Addressing mode of the RTHandle.
Declaration
public TextureWrapMode wrapModeU { readonly get; set; }
Property Value
Type | Description |
---|---|
TextureWrapMode |
wrapModeV
Addressing mode of the RTHandle.
Declaration
public TextureWrapMode wrapModeV { readonly get; set; }
Property Value
Type | Description |
---|---|
TextureWrapMode |
wrapModeW
Addressing mode of the RTHandle.
Declaration
public TextureWrapMode wrapModeW { readonly get; set; }
Property Value
Type | Description |
---|---|
TextureWrapMode |