UnityEngine.Rendering.CommandBuffer.INTERNAL_CALL_DrawMesh C# (CSharp) Method

INTERNAL_CALL_DrawMesh() private method

private INTERNAL_CALL_DrawMesh ( CommandBuffer self, Mesh mesh, Matrix4x4 &matrix, Material material, int submeshIndex, int shaderPass, MaterialPropertyBlock properties ) : void
self CommandBuffer
mesh Mesh
matrix Matrix4x4
material Material
submeshIndex int
shaderPass int
properties MaterialPropertyBlock
return void
        private static extern void INTERNAL_CALL_DrawMesh(CommandBuffer self, Mesh mesh, ref Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass, MaterialPropertyBlock properties);
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

コード例 #1
0
        public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex)
        {
            MaterialPropertyBlock properties = null;
            int shaderPass = -1;

            CommandBuffer.INTERNAL_CALL_DrawMesh(this, mesh, ref matrix, material, submeshIndex, shaderPass, properties);
        }
All Usage Examples Of UnityEngine.Rendering.CommandBuffer::INTERNAL_CALL_DrawMesh