Microsoft.Xna.Framework.Graphics.VertexPositionTexture.VertexPositionTexture C# (CSharp) Метод

VertexPositionTexture() статический приватный Метод

static private VertexPositionTexture ( ) : System.Runtime.InteropServices
Результат System.Runtime.InteropServices
        static VertexPositionTexture()
        {
            VertexElement[] elements = new VertexElement[] { new VertexElement(0, VertexElementFormat.Vector3, VertexElementUsage.Position, 0), new VertexElement(12, VertexElementFormat.Vector2, VertexElementUsage.TextureCoordinate, 0) };
            VertexDeclaration declaration = new VertexDeclaration(elements);
            VertexDeclaration = declaration;
        }

Same methods

VertexPositionTexture::VertexPositionTexture ( System.Vector3 position, System.Vector2 textureCoordinate ) : System.Runtime.InteropServices