public void Add<VertexType>(
Image texture,
VertexType[] vertices,
short[] indices = null,
int numberOfVerticesUsed = 0,
int numberOfIndicesUsed = 0
)
where VertexType : struct, new(), Vertex
public void Add<VertexType>(
Image texture,
VertexType[] vertices,
short[] indices = null,
int numberOfVerticesUsed = 0,
int numberOfIndicesUsed = 0
)
where VertexType : struct, new(), Vertex
Public Sub Add(Of VertexType As {Structure, New, Vertex}) (
texture As Image,
vertices As VertexType(),
Optional indices As Short() = Nothing,
Optional numberOfVerticesUsed As Integer = 0,
Optional numberOfIndicesUsed As Integer = 0
)
Public Sub Add(Of VertexType As {Structure, New, Vertex}) (
texture As Image,
vertices As VertexType(),
Optional indices As Short() = Nothing,
Optional numberOfVerticesUsed As Integer = 0,
Optional numberOfIndicesUsed As Integer = 0
)
public:
generic<typename VertexType>
where VertexType : value class, gcnew(), Vertex
void Add(
Image^ texture,
array<VertexType>^ vertices,
array<short>^ indices = nullptr,
int numberOfVerticesUsed = 0,
int numberOfIndicesUsed = 0
)
public:
generic<typename VertexType>
where VertexType : value class, gcnew(), Vertex
void Add(
Image^ texture,
array<VertexType>^ vertices,
array<short>^ indices = nullptr,
int numberOfVerticesUsed = 0,
int numberOfIndicesUsed = 0
)
member Add :
texture : Image *
vertices : 'VertexType[] *
?indices : int16[] *
?numberOfVerticesUsed : int *
?numberOfIndicesUsed : int
(* Defaults:
let _indices = defaultArg indices null
let _numberOfVerticesUsed = defaultArg numberOfVerticesUsed 0
let _numberOfIndicesUsed = defaultArg numberOfIndicesUsed 0
*)
-> unit when 'VertexType : struct, new() and Vertex
member Add :
texture : Image *
vertices : 'VertexType[] *
?indices : int16[] *
?numberOfVerticesUsed : int *
?numberOfIndicesUsed : int
(* Defaults:
let _indices = defaultArg indices null
let _numberOfVerticesUsed = defaultArg numberOfVerticesUsed 0
let _numberOfIndicesUsed = defaultArg numberOfIndicesUsed 0
*)
-> unit when 'VertexType : struct, new() and Vertex