Experimental: this API is experimental and might be changed or removed in the future.

RenderPipelineAsset

class in UnityEngine.Experimental.Rendering

/

Hereda de:ScriptableObject


Implementa interfaces:IRenderPipelineAsset

Cambiar al Manual

Descripción

An asset that produces a specific IRenderPipeline.

Default implementation of IRenderPipelineAsset. This manages the lifecylces of inherited types, as well as ensures that created IRenderPipeline's are invalidated when the asset is changed.

See Also: IRenderPipelineAsset.

Funciones Públicas

CreatePipelineCreate a IRenderPipeline specific to this asset.
DestroyCreatedInstancesDestroys all cached data and created IRenderLoop's.
GetDefault2DMaterialReturn the default 2D Material for this pipeline.
GetDefaultLineMaterialReturn the default Line Material for this pipeline.
GetDefaultMaterialReturn the default Material for this pipeline.
GetDefaultParticleMaterialReturn the default particle Material for this pipeline.
GetDefaultShaderReturn the default Shader for this pipeline.
GetDefaultTerrainMaterialReturn the default Terrain Material for this pipeline.
GetDefaultUIETC1SupportedMaterialReturn the default UI ETC1 Material for this pipeline.
GetDefaultUIMaterialReturn the default UI Material for this pipeline.
GetDefaultUIOverdrawMaterialReturn the default UI overdraw Material for this pipeline.
GetTerrainBrushPassIndexThe render index for the terrain brush in the editor.

Funciones Protegidas

CreatedInstancesReturns the list of current IRenderPipeline's created by the asset.
InternalCreatePipelineCreate a IRenderPipeline specific to this asset.
OnDisableDefault implementation of OnDisable for RenderPipelineAsset. See ScriptableObject.OnDisable
OnValidateDefault implementation of OnValidate for RenderPipelineAsset. See MonoBehaviour.OnValidate

Miembros heredados

Variables

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameEl nombre del objeto.

Funciones Públicas

GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringReturns the name of the GameObject.

Funciones Estáticas

DestroyElimina un gameobject, componente o asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateClona el objeto original y devuelve el clon.
CreateInstanceCrea una instancia de un objeto scriptable.

Operadores

bool¿Existe el objeto?
operator !=Compare si dos objetos se refieren a un objeto diferente.
operator ==Compara dos referencias de objeto para ver si se refieren al mismo objeto.

Mensajes

AwakeEsta función se llama cuando el script ScriptableObject empieza.
OnDestroyEsta función se llama cuando el objeto scriptable se destruirá.
OnEnableEsta función se llama cuando el objeto es cargado.