ReXGlue SDK
Loading...
Searching...
No Matches
rex::xenos::ucode::FetchInstruction Union Reference

#include <rex/xenos/ucode.h>

Public Member Functions

FetchOpcode GetOpcode () const
bool IsPredicated () const
bool GetPredicateCondition () const
u32 GetDest () const
u32 GetDestSwizzle () const
bool IsDestRelative () const
u32 GetSrcReg () const
bool IsSrcRelative () const
const VertexFetchInstruction & GetVertexFetch () const
const TextureFetchInstruction & GetTextureFetch () const

Detailed Description

Fetch instruction of 3 dwords, viewed as a vertex or texture fetch according to its opcode.

Member Function Documentation

◆ GetPredicateCondition()

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

Returns the predicate value that enables the instruction.

◆ GetTextureFetch()

const TextureFetchInstruction & rex::xenos::ucode::FetchInstruction::GetTextureFetch ( ) const
inline

Returns the texture fetch data, valid for other opcodes.

◆ GetVertexFetch()

const VertexFetchInstruction & rex::xenos::ucode::FetchInstruction::GetVertexFetch ( ) const
inline

Returns the vertex fetch data, valid for FetchOpcode::kVertexFetch.


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