Clase para manejar Texturas 3D. Utilice esta para crear 3D texture assets.
Las texturas 3D se utilizan comúnmente como tablas de búsqueda por shaders, o para representar datos volumétricos.
Typically you'd create a 3D texture, fill it up with data (SetPixels or SetPixels32) and call
Apply to upload the data to the GPU.
depth | La profundidad de la textura (Read Only). |
format | El formato de los datos de pixel en la textura (Lectura solamente). |
isReadable | Returns true if this 3D texture is Read/Write Enabled; otherwise returns false. For dynamic textures created from script, always returns true. |
Texture3D | Crea una nueva textura 3D vacía. |
Apply | Realmente aplica todos los cambios previos SetPixels. |
GetPixel | Returns the pixel color that represents one mip level of the 3D texture at coordinates (x,y,z). |
GetPixelBilinear | Returns the filtered pixel color that represents one mip level of the 3D texture at normalized coordinates (u,v,w). |
GetPixelData | Gets raw data from a Texture for reading or writing. |
GetPixels | Retorna un arreglo de colores de pixel representando un nivel mip de la textura 3D. |
GetPixels32 | Retorna un arreglo de colores de pixel representando un nivel mip de la textura 3D. |
SetPixel | Sets the pixel color that represents one mip level of the 3D texture at coordinates (x,y,z). |
SetPixelData | Set pixel values from raw preformatted data. |
SetPixels | Establece los colores de pixel de una textura 3D. |
SetPixels32 | Establece los colores de pixel de una textura 3D. |
UpdateExternalTexture | Updates Unity texture to use different native texture object. |
CreateExternalTexture | Creates Unity Texture out of externally created native texture object. |
allowThreadedTextureCreation | Allow Unity internals to perform texture creation on any thread (rather than the dedicated render thread). |
currentTextureMemory | The amount of memory currently being used by textures. |
desiredTextureMemory | This amount of texture memory would be used before the texture streaming budget is applied. |
GenerateAllMips | Can be used with texture constructors that take a mip count to indicate that all mips should be generated. The value of this field is -1. |
nonStreamingTextureCount | Number of non-streaming textures. |
nonStreamingTextureMemory | Total amount of memory being used by non-streaming textures. |
streamingMipmapUploadCount | How many times has a texture been uploaded due to texture mipmap streaming. |
streamingRendererCount | Number of renderers registered with the texture streaming system. |
streamingTextureCount | Number of streaming textures. |
streamingTextureDiscardUnusedMips | Force the streaming texture system to discard all unused mipmaps immediately, rather than caching them until the texture memory budget is exceeded. |
streamingTextureForceLoadAll | Force streaming textures to load all mipmap levels. |
streamingTextureLoadingCount | Number of streaming textures with mipmaps currently loading. |
streamingTexturePendingLoadCount | Number of streaming textures with outstanding mipmaps to be loaded. |
targetTextureMemory | The amount of memory used by textures after the mipmap streaming and budget are applied and loading is complete. |
totalTextureMemory | The total amount of memory that would be used by all textures at mipmap level 0. |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | El nombre del objeto. |
anisoLevel | Nivel de filtrado anisotrópico de la textura. |
dimension | Dimensionalidad (tipo) de la textura (lectura solamente). |
filterMode | Modo de filtrado de la textura. |
graphicsFormat | Returns the GraphicsFormat format or color format of a texture object. |
height | Altura de la textura en pixels. (Read Only) |
imageContentsHash | The hash value of the Texture. |
isReadable | Returns true if the Read/Write Enabled checkbox was checked when the texture was imported; otherwise returns false. For a dynamic Texture created from script, always returns true. For additional information, see TextureImporter.isReadable. |
mipMapBias | Mip map bias de la textura. |
mipmapCount | Cuántos niveles de mipmap hay en esta textura (Lectura solamente)? |
updateCount | This counter is incremented when the texture is updated. |
width | Anchura de la textura en píxeles. (Read Only) |
wrapMode | Texture coordinate wrapping mode. |
wrapModeU | Texture U coordinate wrapping mode. |
wrapModeV | Texture V coordinate wrapping mode. |
wrapModeW | Texture W coordinate wrapping mode for Texture3D. |
GetInstanceID | Devuelve el id de la instancia del objeto. |
ToString | Returns the name of the object. |
GetNativeTexturePtr | Recupere un puntero nativo (API de gráficos subyacente) al recurso de textura. |
IncrementUpdateCount | Increment the update counter. |
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindObjectOfType | Devuelve el primer objeto activo cargado de tipo type. |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | Clona el objeto original y devuelve el clon. |
SetGlobalAnisotropicFilteringLimits | Establece límites anisotrópicos. |
SetStreamingTextureMaterialDebugProperties | Uploads additional debug information to materials using textures set to stream mip maps. |
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. |