Make some parameter names more verbose

This commit is contained in:
baldurk
2017-04-07 12:37:20 +01:00
parent bc79e2296f
commit dd1e090040
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1065,7 +1065,7 @@ integer).
:return: The nearest half-float equivalent stored as an int.
:rtype: ``int``
)");
extern "C" RENDERDOC_API uint16_t RENDERDOC_CC Maths_FloatToHalf(float f);
extern "C" RENDERDOC_API uint16_t RENDERDOC_CC Maths_FloatToHalf(float flt);
DOCUMENT(R"(A utility function that returns the number of vertices in a primitive of a given
topology.
+3 -3
View File
@@ -1453,11 +1453,11 @@ DOCUMENT(R"(Return the number of control points in a patch list ``Topology``
:return: The number of control points in the specified topology
:rtype: int
)");
constexpr inline uint32_t PatchList_Count(Topology t)
constexpr inline uint32_t PatchList_Count(Topology topology)
{
return uint32_t(t) < uint32_t(Topology::PatchList_1CPs)
return uint32_t(topology) < uint32_t(Topology::PatchList_1CPs)
? 0
: uint32_t(t) - uint32_t(Topology::PatchList_1CPs);
: uint32_t(topology) - uint32_t(Topology::PatchList_1CPs);
}
DOCUMENT(R"(A set of flags describing how this buffer may be used