ReXGlue SDK
Loading...
Searching...
No Matches
rex::xenos::ucode::VertexFetchInstruction Struct Reference

#include <rex/xenos/ucode.h>

Public Member Functions

FetchOpcode GetOpcode () const
bool IsPredicated () const
bool GetPredicateCondition () const
u32 GetFetchConstantIndex () const
u32 GetDest () const
u32 GetDestSwizzle () const
bool IsDestRelative () const
u32 GetSrcReg () const
u32 GetSrcSwizzle () const
bool IsSrcRelative () const
u32 GetPrefetchCount () const
bool IsMiniFetch () const
xenos::VertexFormat GetDataFormat () const
int GetExpAdjust () const
bool IsSigned () const
bool IsNormalized () const
xenos::SignedRepeatingFractionMode GetSignedRFMode () const
bool IsIndexRounded () const
u32 GetStride () const
i32 GetOffset () const

Detailed Description

Vertex fetch instruction of 3 dwords.

Member Function Documentation

◆ GetExpAdjust()

int rex::xenos::ucode::VertexFetchInstruction::GetExpAdjust ( ) const
inline

Returns the exponent adjustment, [-32, 31].

◆ GetFetchConstantIndex()

u32 rex::xenos::ucode::VertexFetchInstruction::GetFetchConstantIndex ( ) const
inline

Returns the vertex fetch constant index [0-95]. Valid only for vfetch_full.

◆ GetOffset()

i32 rex::xenos::ucode::VertexFetchInstruction::GetOffset ( ) const
inline

Returns the dword offset, [-4194304, 4194303].

◆ GetPredicateCondition()

bool rex::xenos::ucode::VertexFetchInstruction::GetPredicateCondition ( ) const
inline

Returns the predicate value that enables the instruction.

◆ GetPrefetchCount()

u32 rex::xenos::ucode::VertexFetchInstruction::GetPrefetchCount ( ) const
inline

Returns the prefetch count, 1 less than the number of vertices.

◆ GetSrcReg()

u32 rex::xenos::ucode::VertexFetchInstruction::GetSrcReg ( ) const
inline

Returns the source register index. Valid only for vfetch_full.

◆ GetStride()

u32 rex::xenos::ucode::VertexFetchInstruction::GetStride ( ) const
inline

Returns the dword stride, [0, 255]. Valid only for vfetch_full.

◆ IsIndexRounded()

bool rex::xenos::ucode::VertexFetchInstruction::IsIndexRounded ( ) const
inline

Reports whether the index is rounded as floor(index + 0.5) rather than floored.

◆ IsMiniFetch()

bool rex::xenos::ucode::VertexFetchInstruction::IsMiniFetch ( ) const
inline

Reports whether the instruction is vfetch_mini rather than vfetch_full.

◆ IsNormalized()

bool rex::xenos::ucode::VertexFetchInstruction::IsNormalized ( ) const
inline

Reports whether the data is normalized rather than integer.


The documentation for this struct was generated from the following file: