public static void VShader( [In(PinComponent.Position)] Vector3f position, [In(PinComponent.TexCoord0)] Vector2f texCoord, [Out(PinComponent.Position)] Vector3f outPosition, [Constant] Vector2f translate2D, [Resource(PinFormat.Texture2D, Slot = 0)] TextureView texture, [Resource(PinFormat.Sampler, Slot = 0)] States.SamplerState sampler) { outPosition = new Vector3f(position.Vec2.XY + translate2D, position.Z) + texture.Sample(sampler, texCoord).Vec3; }