docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Sampling Operators

    Fetch data from buffers, meshes, and textures.

    Page Description
    Buffer Count Operator Get the number of elements in a GraphicsBuffer.
    Get Mesh Index Count Operator Get the number of indices in a mesh.
    Get Mesh Triangle Count Operator Get the number of triangles in a mesh.
    Get Mesh Vertex Count Operator Get the number of vertices in a mesh.
    Get Skinned Mesh Index Count Operator Get the number of indices in a skinned mesh.
    Get Skinned Mesh Triangle Count Operator Get the number of triangles in a skinned mesh.
    Get Skinned Mesh Vertex Count Operator Get the number of vertices in a skinned mesh.
    Get Skinned Mesh Local Root Transform Operator Get the transform of a root bone in a skinned mesh, relative to the Skinned Mesh Renderer.
    Get Skinned Mesh World Root Transform Operator Get the transform of a root bone in a skinned mesh, relative to the world.
    Get Texture Dimensions Operator Get the dimensions of a texture.
    Load CameraBuffer Operator Sample the camera buffer.
    Load Texture2D Operator Sample a 2D texture.
    Load Texture2DArray Operator Sample a 2D texture array.
    Load Texture3D Operator Sample a 3D texture.
    Position (Depth) Operator Sample the depth buffer of the camera.
    Sample Graphics Buffer Operator Fetch and sample a structured GraphicsBuffer.
    Sample CameraBuffer Operator Sample the camera buffer using pixel dimensions and UVs.
    Sample Curve Operator Sample a curve.
    Sample Gradient Operator Sample a gradient.
    Sample Mesh Operator Get the vertex data of a mesh.
    Sample Mesh Index Operator Get the index buffer data of geometry.
    Sample Skinned Mesh Operator Get the vertex data of a skinned mesh.
    Sample Signed Distance Field Operator Get the distance field stored in a 3D texture.
    Sample Texture2D Operator Sample a 2D texture using UV coordinates and mipmap level.
    Sample Texture2DArray Operator Sample a 2D texture array using a slice, UV coordinates, and mipmap level.
    Sample Texture3D Operator Sample a 3D texture using UV coordinates and mipmap level.
    Sample TextureCube Operator Sample a cubemap texture using a direction vector and mipmap level.
    Sample TextureCubeArray Operator Sample a cubemap array using a slice, direction vector, and mipmap level.
    Sample Attribute Map Operator Sample an attribute map from a Point Cache.

    Additional resources

    • Noise Operators
    • Wave Operators
    • Random Operators
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)