StandardPushConstantData

Represents a simple push constant data containing model and normal matrices.

Properties

ModelMatrix

(Matrix4x4) { get; set }: Gets or sets the model matrix.

NormalMatrix

(Matrix4x4) { get; set }: Gets or sets the normal matrix.

Public Methods

SizeOf

public static uint SizeOf()

Gets the size of the StandardPushConstantData struct.

Returns: uint

  • The size of the StandardPushConstantData struct in bytes.